Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ListenIpAddress string ListenPort string // Maximum headers with its values to parse in requests. If passed // zero it will be 1 << 20 (1 megabyte). MaxHeaderBytes int // Timeout for reading the requests. If passed zero it will be 15 // (15 seconds). ReadTimeoutSeconds int // Timeout for writing the responses. If passed zero it will be 15 // (15 seconds). WriteTimeoutSeconds int }
type RoutesInitilizer ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AddMW ¶
func (s *Server) AddMW(mw ...gin.HandlerFunc)
func (*Server) InitRoutes ¶
func (s *Server) InitRoutes(endpoints ...RoutesInitilizer)
Click to show internal directories.
Click to hide internal directories.