Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*ServerConfig)
func SetComponents ¶
func SetGinMiddlewares ¶
func SetGinMiddlewares(in []gin.HandlerFunc) Option
func SetServerMeta ¶
func SetServerMeta(in ServerMeta) Option
type Server ¶
func (*Server) Meta ¶
func (s *Server) Meta() ServerMeta
func (*Server) SetComponent ¶
type ServerConfig ¶
type ServerConfig struct { Components []Component Meta ServerMeta GinMiddlewares []gin.HandlerFunc }
type ServerMeta ¶
Click to show internal directories.
Click to hide internal directories.