package
Version:
v0.0.0-...-7d38a10
Opens a new window with list of versions in this module.
Published: Feb 17, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func (a *API) Start() (shutdown func())
type Config struct {
Port string
StaticDir string
Validate validate
RetrieveAccessDetails retrieveAccessDetails
Endpoints []*Endpoint
}
type Response struct {
StatusCode int
Body interface{}
}
func NewResponse(status int, body interface{}) *Response
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.