# Functions
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
Example usage:
controller := NewBaseController(memoryStorage, option, nLogger, worker, authz) r.Mount("/", controller.Route()) flagRunAddr := option.RunAddr() http.ListenAndServe(flagRunAddr, r).
# Structs
BaseController represents a basic controller for handling user requests.
No description provided by the author
No description provided by the author
PostLoginJSONBody defines parameters for PostLogin.
PostRegisterJSONBody defines parameters for PostRegister.
No description provided by the author
No description provided by the author
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Authz represents an interface for user authorization functionality.
Log represents an interface for logging functionality.
Options represents an interface for parsing command line options.
ServerInterface represents all server handlers.
No description provided by the author
# Type aliases
No description provided by the author
PostAddDataTableUserIDEntryIDJSONBody defines parameters for PostAddDataTableUserIDEntryID.
PostAddDataTableUserIDEntryIDJSONRequestBody defines body for PostAddDataTableUserIDEntryID for application/json ContentType.
PostLoginJSONRequestBody defines body for PostLogin for application/json ContentType.
PostRegisterJSONRequestBody defines body for PostRegister for application/json ContentType.
PutUpdateDataTableUserIDEntryIDJSONBody defines parameters for PutUpdateDataTableUserIDEntryID.
PutUpdateDataTableUserIDEntryIDJSONRequestBody defines body for PutUpdateDataTableUserIDEntryID for application/json ContentType.