efritz/chevron

View on GitHub

Showing 157 of 157 total issues

exported function WithJWTAuthClaimsFactory should have comment or be unexported
Open

func WithJWTAuthClaimsFactory(factory JWTClaimsFactory) JWTAuthorizerConfigFunc {
Severity: Minor
Found in middleware/auth_jwt_options.go by golint

exported type LoggerFatalParamSet should have comment or be unexported
Open

type LoggerFatalParamSet struct {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported type LoggerErrorParamSet should have comment or be unexported
Open

type LoggerErrorParamSet struct {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported method MockLogger.ErrorFuncCallCount should have comment or be unexported
Open

func (m *MockLogger) ErrorFuncCallCount() int {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported method SchemaMiddleware.Convert should have comment or be unexported
Open

func (m *SchemaMiddleware) Convert(f chevron.Handler) (chevron.Handler, error) {
Severity: Minor
Found in middleware/schema.go by golint

exported type AuthorizerFunc should have comment or be unexported
Open

    AuthorizerFunc func(context.Context, *http.Request) (AuthResult, interface{}, error)
Severity: Minor
Found in middleware/auth.go by golint

exported function NewJWTHeaderExtractor should have comment or be unexported
Open

func NewJWTHeaderExtractor(name, scheme string) request.Extractor {
Severity: Minor
Found in middleware/auth_jwt_extractors.go by golint

exported function WithAuthErrorFactory should have comment or be unexported
Open

func WithAuthErrorFactory(factory ErrorFactory) AuthMiddlewareConfigFunc {
Severity: Minor
Found in middleware/auth_options.go by golint

exported function WithCacheErrorFactory should have comment or be unexported
Open

func WithCacheErrorFactory(factory ErrorFactory) CacheMiddlewareConfigFunc {
Severity: Minor
Found in middleware/cache_options.go by golint

exported function GetBasicAuthUsername should have comment or be unexported
Open

func GetBasicAuthUsername(ctx context.Context) string {
Severity: Minor
Found in middleware/auth_basic.go by golint

exported function NewGzip should have comment or be unexported
Open

func NewGzip(configs ...GzipMiddlewareConfigFunc) chevron.Middleware {
Severity: Minor
Found in middleware/gzip.go by golint

exported type CacheRemoveParamSet should have comment or be unexported
Open

type CacheRemoveParamSet struct {
Severity: Minor
Found in middleware/mocks/cache_mock.go by golint

exported type MockLogger should have comment or be unexported
Open

type MockLogger struct {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported method MockCache.SetValue should have comment or be unexported
Open

func (m *MockCache) SetValue(v0 string, v1 string, v2 ...string) error {
Severity: Minor
Found in middleware/mocks/cache_mock.go by golint

exported method MockLogger.WithFieldsFuncCallCount should have comment or be unexported
Open

func (m *MockLogger) WithFieldsFuncCallCount() int {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported type RecoverConfigFunc should have comment or be unexported
Open

    RecoverConfigFunc func(m *RecoverMiddleware)
Severity: Minor
Found in middleware/recover_options.go by golint

exported type LoggerErrorWithFieldsParamSet should have comment or be unexported
Open

type LoggerErrorWithFieldsParamSet struct {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported type LoggerFatalWithFieldsParamSet should have comment or be unexported
Open

type LoggerFatalWithFieldsParamSet struct {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint

exported type RequestIDConfigFunc should have comment or be unexported
Open

    RequestIDConfigFunc func(m *RequestIDMiddleware)
Severity: Minor
Found in middleware/request_id_options.go by golint

exported method MockLogger.InfoWithFieldsFuncCallParams should have comment or be unexported
Open

func (m *MockLogger) InfoWithFieldsFuncCallParams() []LoggerInfoWithFieldsParamSet {
Severity: Minor
Found in middleware/mocks/logger_mock.go by golint
Severity
Category
Status
Source
Language