Documentation ¶
Index ¶
- type Service
- func (s *Service) Healthz(req *restful.Request, resp *restful.Response)
- func (s *Service) Ping(req *restful.Request, resp *restful.Response)
- func (s *Service) Query(req *restful.Request, resp *restful.Response)
- func (s *Service) Rebook(req *restful.Request, resp *restful.Response)
- func (s *Service) SetCache(db *redis.Client)
- func (s *Service) SetDB(db storage.DI)
- func (s *Service) Subscribe(req *restful.Request, resp *restful.Response)
- func (s *Service) Telnet(req *restful.Request, resp *restful.Response)
- func (s *Service) UnSubscribe(req *restful.Request, resp *restful.Response)
- func (s *Service) WebService() *restful.WebService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
func (*Service) Subscribe ¶
func (s *Service) Subscribe(req *restful.Request, resp *restful.Response)
Subscribe Subscribe events
func (*Service) UnSubscribe ¶
func (s *Service) UnSubscribe(req *restful.Request, resp *restful.Response)
func (*Service) WebService ¶
func (s *Service) WebService() *restful.WebService
Click to show internal directories.
Click to hide internal directories.