Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server hold the gin engine and any clients we need for the API.
func (*Server) Setup ¶
func (s *Server) Setup()
Setup sets any global middlewares then initializes the API.
func (*Server) WithController ¶
func (s *Server) WithController(c *internal.Controller)
WithController sets the internal controller instance for the server.
func (*Server) WithVerboseRequestLogging ¶
func (s *Server) WithVerboseRequestLogging()
WithVerboseRequestLogging sets the server to use verbose request logging.
Click to show internal directories.
Click to hide internal directories.