efritz/derision

View on GitHub
internal/server/resources.go

Summary

Maintainability
A
0 mins
Test Coverage

exported method SSEResource.Get should have comment or be unexported
Open

func (r *SSEResource) Get(ctx context.Context, req *http.Request, logger nacelle.Logger) response.Response {
Severity: Minor
Found in internal/server/resources.go by golint

exported type RequestsResource should have comment or be unexported
Open

    RequestsResource struct{ *BaseResource }
Severity: Minor
Found in internal/server/resources.go by golint

exported method ClearResource.Post should have comment or be unexported
Open

func (r *ClearResource) Post(ctx context.Context, req *http.Request, logger nacelle.Logger) response.Response {
Severity: Minor
Found in internal/server/resources.go by golint

exported method CatchAllHandler.Handle should have comment or be unexported
Open

func (r *CatchAllHandler) Handle(ctx context.Context, req *http.Request, logger nacelle.Logger) response.Response {
Severity: Minor
Found in internal/server/resources.go by golint

exported type BaseResource should have comment or be unexported
Open

    BaseResource struct {
Severity: Minor
Found in internal/server/resources.go by golint

exported method SSEResource.PostInject should have comment or be unexported
Open

func (r *SSEResource) PostInject() error {
Severity: Minor
Found in internal/server/resources.go by golint

exported type CatchAllHandler should have comment or be unexported
Open

    CatchAllHandler  struct{ *BaseResource }
Severity: Minor
Found in internal/server/resources.go by golint

exported method RegisterResource.Post should have comment or be unexported
Open

func (r *RegisterResource) Post(ctx context.Context, req *http.Request, logger nacelle.Logger) response.Response {
Severity: Minor
Found in internal/server/resources.go by golint

exported type RegisterResource should have comment or be unexported
Open

    RegisterResource struct{ *BaseResource }
Severity: Minor
Found in internal/server/resources.go by golint

exported type ClearResource should have comment or be unexported
Open

    ClearResource    struct{ *BaseResource }
Severity: Minor
Found in internal/server/resources.go by golint

exported method RequestsResource.Get should have comment or be unexported
Open

func (r *RequestsResource) Get(ctx context.Context, req *http.Request, logger nacelle.Logger) response.Response {
Severity: Minor
Found in internal/server/resources.go by golint

exported type SSEResource should have comment or be unexported
Open

    SSEResource struct {
Severity: Minor
Found in internal/server/resources.go by golint

There are no issues that match your filters.

Category
Status