MCPcopy Create free account

hub / github.com/beeker1121/gotodo / types & classes

Types & classes39 in github.com/beeker1121/gotodo

StructConfig
Config defines the Go Todo API settings.
api/config/config.go:12
StructContext
Context defines the API context, which acts as a container for all assets used by the API.
api/context/context.go:12
StructDatabase
Database defines the database.
database/database.go:11
StructDatabase
Database defines the todos database.
database/todos/todos.go:10
StructDatabase
Database defines the members database.
database/members/members.go:6
StructError
Error defines the default API error type.
api/errors/errors.go:23
TypeAliasErrors
Errors defines multiple API errors.
api/errors/errors.go:35
StructErrorsWrap
ErrorsWrap wraps the Errors type to produce JSON according to spec.
api/errors/errors.go:48
StructGetParams
GetParams defines the parameters for the Get method.
database/todos/todos.go:121
TypeAliasGetParams
GetParams defines the parameters for the Get method.
services/todos/todos.go:69
StructLinks
Links defines the response top level links object.
api/v1/handlers/todos/todos.go:40
StructLoginParams
LoginParams defines the parameters for the Login method.
services/members/members.go:82
StructMember
Member defines a member.
database/members/members.go:18
TypeAliasMember
Members defines a member.
services/members/members.go:24
StructMeta
Meta defines the response top level meta object.
api/v1/handlers/todos/todos.go:33
StructNewParams
NewParams defines the parameters for the New method.
database/todos/todos.go:88
StructNewParams
NewParams defines the parameters for the New method.
database/members/members.go:50
TypeAliasNewParams
NewParams defines the parameters for the New method.
services/todos/todos.go:31
TypeAliasNewParams
NewParams defines the parameters for the New method.
services/members/members.go:27
StructParamError
ParamError defines an error with a parameter passed to a service method.
services/errors/errors.go:12
TypeAliasParamErrors
ParamErrors defines a slice of parameter errors.
services/errors/errors.go:39
StructResultGet
ResultGet defines the response data for the HandleGet handler.
api/v1/handlers/todos/todos.go:46
StructResultGetTodo
ResultGetTodo defines the response data for the HandleGetTodo handler.
api/v1/handlers/todos/todos.go:53
StructResultPost
ResultPost defines the response data for the HandlePost handler.
api/v1/handlers/todos/todos.go:58
StructResultPost
ResultPost defines the response data for the HandlePost handler.
api/v1/handlers/signup/signup.go:18
StructResultPost
ResultPost defines the response data for the HandlePost handler.
api/v1/handlers/login/login.go:18
StructResultUpdate
ResultUpdate defines the response data for the HandleUpdate handler.
api/v1/handlers/todos/todos.go:63
StructService
Service defines the todos service.
services/todos/todos.go:10
StructService
Service defines the members service.
services/members/members.go:12
StructServices
Services defines the services.
services/services.go:10
StructTodo
Todo defines a todo.
database/todos/todos.go:22
StructTodo
Todo defines the todo API type. This mirrors the service Todo type, which mirrors the database Todo type. However, we specify that the MemberID shoul
api/v1/handlers/todos/todos.go:24
TypeAliasTodo
Todo defines a todo.
services/todos/todos.go:22
StructTodos
Todos defines a set of todos.
database/todos/todos.go:31
StructTodos
Todos defines a set of todos.
services/todos/todos.go:25
StructTokenClaims
TokenClaims defines the custom claims we use for the JWT.
api/middleware/auth/auth.go:26
StructUpdateParams
UpdateParams defines the parameters for the Update method.
database/todos/todos.go:261
TypeAliasUpdateParams
UpdateParams defines the parameters for the update methods.
services/todos/todos.go:131
TypeAliaskey
key is the key type used by this package for the request context.
api/middleware/auth/auth.go:19