Documentation ¶
Overview ¶
Package server provides the API server for the application.
Package server provides the API server for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is the interface for the server
func NewAPI ¶
func NewAPI(opts TodoAPIServerOpts) (Server, error)
NewAPI returns a new instance of the Todo API server
func NewSwagger ¶
func NewSwagger(opts SwaggerServerOpts) Server
NewSwagger returns a new instance of the Swagger server
type SwaggerServerOpts ¶
type SwaggerServerOpts struct {
ListenPort int
}
SwaggerServerOpts is the options for the swaggerServer
type TodoAPIServerOpts ¶
TodoAPIServerOpts is the options for the TodoAPIServer
Click to show internal directories.
Click to hide internal directories.