Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beeker1121/gotodo
/ types & classes
Types & classes
39 in github.com/beeker1121/gotodo
⨍
Functions
55
◇
Types & classes
39
Struct
Config
Config defines the Go Todo API settings.
api/config/config.go:12
Struct
Context
Context defines the API context, which acts as a container for all assets used by the API.
api/context/context.go:12
Struct
Database
Database defines the database.
database/database.go:11
Struct
Database
Database defines the todos database.
database/todos/todos.go:10
Struct
Database
Database defines the members database.
database/members/members.go:6
Struct
Error
Error defines the default API error type.
api/errors/errors.go:23
TypeAlias
Errors
Errors defines multiple API errors.
api/errors/errors.go:35
Struct
ErrorsWrap
ErrorsWrap wraps the Errors type to produce JSON according to spec.
api/errors/errors.go:48
Struct
GetParams
GetParams defines the parameters for the Get method.
database/todos/todos.go:121
TypeAlias
GetParams
GetParams defines the parameters for the Get method.
services/todos/todos.go:69
Struct
Links
Links defines the response top level links object.
api/v1/handlers/todos/todos.go:40
Struct
LoginParams
LoginParams defines the parameters for the Login method.
services/members/members.go:82
Struct
Member
Member defines a member.
database/members/members.go:18
TypeAlias
Member
Members defines a member.
services/members/members.go:24
Struct
Meta
Meta defines the response top level meta object.
api/v1/handlers/todos/todos.go:33
Struct
NewParams
NewParams defines the parameters for the New method.
database/todos/todos.go:88
Struct
NewParams
NewParams defines the parameters for the New method.
database/members/members.go:50
TypeAlias
NewParams
NewParams defines the parameters for the New method.
services/todos/todos.go:31
TypeAlias
NewParams
NewParams defines the parameters for the New method.
services/members/members.go:27
Struct
ParamError
ParamError defines an error with a parameter passed to a service method.
services/errors/errors.go:12
TypeAlias
ParamErrors
ParamErrors defines a slice of parameter errors.
services/errors/errors.go:39
Struct
ResultGet
ResultGet defines the response data for the HandleGet handler.
api/v1/handlers/todos/todos.go:46
Struct
ResultGetTodo
ResultGetTodo defines the response data for the HandleGetTodo handler.
api/v1/handlers/todos/todos.go:53
Struct
ResultPost
ResultPost defines the response data for the HandlePost handler.
api/v1/handlers/todos/todos.go:58
Struct
ResultPost
ResultPost defines the response data for the HandlePost handler.
api/v1/handlers/signup/signup.go:18
Struct
ResultPost
ResultPost defines the response data for the HandlePost handler.
api/v1/handlers/login/login.go:18
Struct
ResultUpdate
ResultUpdate defines the response data for the HandleUpdate handler.
api/v1/handlers/todos/todos.go:63
Struct
Service
Service defines the todos service.
services/todos/todos.go:10
Struct
Service
Service defines the members service.
services/members/members.go:12
Struct
Services
Services defines the services.
services/services.go:10
Struct
Todo
Todo defines a todo.
database/todos/todos.go:22
Struct
Todo
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
TypeAlias
Todo
Todo defines a todo.
services/todos/todos.go:22
Struct
Todos
Todos defines a set of todos.
database/todos/todos.go:31
Struct
Todos
Todos defines a set of todos.
services/todos/todos.go:25
Struct
TokenClaims
TokenClaims defines the custom claims we use for the JWT.
api/middleware/auth/auth.go:26
Struct
UpdateParams
UpdateParams defines the parameters for the Update method.
database/todos/todos.go:261
TypeAlias
UpdateParams
UpdateParams defines the parameters for the update methods.
services/todos/todos.go:131
TypeAlias
key
key is the key type used by this package for the request context.
api/middleware/auth/auth.go:19