Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CodeValidationError is the code that is returned on a validation error message
CodeValidationError = "VALIDATION_ERROR"
)
Variables ¶
View Source
var ( errors.New("401 Unauthorized") )ErrUnauthorizedRequest =
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver resolves
func NewResolver ¶
func NewResolver( db database.DB, validator validator.Validator, passwordService password.Service, errorHandler errorhandler.ErrorHandler, logger logger.Logger, jwtService jwt.Service, transactionsServiceClient transactions_service.TransactionsServiceClient, rawRecordsServiceClient raw_records_service.RawRecordsServiceClient, ) *Resolver
NewResolver creates a new instance of the resolver
func (*Resolver) Mutation ¶
func (r *Resolver) Mutation() generated.MutationResolver
Mutation returns generated.MutationResolver implementation.
func (*Resolver) Query ¶
func (r *Resolver) Query() generated.QueryResolver
Query returns generated.QueryResolver implementation.
Click to show internal directories.
Click to hide internal directories.