Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIService ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(services ...APIService) *Service
func (*Service) Add ¶ added in v2.6.0
func (s *Service) Add(services ...APIService)
Add adds other API services. This needs to be called before Serve.
func (*Service) AddCloseFunc ¶
func (s *Service) AddCloseFunc(f func())
AddCloseFunc adds a function to be called when the server is closed
Click to show internal directories.
Click to hide internal directories.