Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcService ¶
type GrpcService struct {
// contains filtered or unexported fields
}
func NewGrpcService ¶
func NewGrpcService() *GrpcService
func (*GrpcService) Start ¶
func (s *GrpcService) Start()
func (*GrpcService) Stop ¶
func (s *GrpcService) Stop() error
type HttpService ¶
type HttpService struct {
// contains filtered or unexported fields
}
func (*HttpService) Start ¶
func (s *HttpService) Start() error
func (*HttpService) Stop ¶
func (s *HttpService) Stop()
type RestfulService ¶
type RestfulService struct {
// contains filtered or unexported fields
}
func NewRestfulService ¶
func NewRestfulService() *RestfulService
func (*RestfulService) PathPrefix ¶
func (s *RestfulService) PathPrefix() string
func (*RestfulService) Registry ¶
func (s *RestfulService) Registry() error
通过keyauth sdk注册服务功能 需要webservice都已经加载完成后才注册这样才可以获取路由条目
func (*RestfulService) Start ¶
func (r *RestfulService) Start() error
func (*RestfulService) Stop ¶
func (r *RestfulService) Stop()
Click to show internal directories.
Click to hide internal directories.