Documentation ¶
Index ¶
- type HTTPServerV2
- func (h *HTTPServerV2) CreateRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV2) DeleteRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV2) Discover(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV2) EnableRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV2) GetClientAccessServer(include []string) (*restful.WebService, error)
- func (h *HTTPServerV2) GetNamingConsoleAccessServer(include []string) (*restful.WebService, error)
- func (h *HTTPServerV2) GetRoutings(req *restful.Request, rsp *restful.Response)
- func (h *HTTPServerV2) UpdateRoutings(req *restful.Request, rsp *restful.Response)
- type RoutingArr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPServerV2 ¶
type HTTPServerV2 struct {
// contains filtered or unexported fields
}
HTTPServerV2
func NewV2Server ¶
func NewV2Server( namespaceServer namespace.NamespaceOperateServer, namingServer service.DiscoverServer, healthCheckServer *healthcheck.Server) *HTTPServerV2
NewV2Server 创建V2版本的HTTPServer
func (*HTTPServerV2) CreateRoutings ¶
func (h *HTTPServerV2) CreateRoutings(req *restful.Request, rsp *restful.Response)
CreateRoutings 创建规则路由
func (*HTTPServerV2) DeleteRoutings ¶
func (h *HTTPServerV2) DeleteRoutings(req *restful.Request, rsp *restful.Response)
DeleteRoutings 删除规则路由
func (*HTTPServerV2) Discover ¶
func (h *HTTPServerV2) Discover(req *restful.Request, rsp *restful.Response)
Discover 统一发现接口
func (*HTTPServerV2) EnableRoutings ¶
func (h *HTTPServerV2) EnableRoutings(req *restful.Request, rsp *restful.Response)
EnableRoutings 查询规则路由
func (*HTTPServerV2) GetClientAccessServer ¶
func (h *HTTPServerV2) GetClientAccessServer(include []string) (*restful.WebService, error)
GetClientAccessServer get client access server
func (*HTTPServerV2) GetNamingConsoleAccessServer ¶
func (h *HTTPServerV2) GetNamingConsoleAccessServer(include []string) (*restful.WebService, error)
GetNamingConsoleAccessServer 注册管理端接口
func (*HTTPServerV2) GetRoutings ¶
func (h *HTTPServerV2) GetRoutings(req *restful.Request, rsp *restful.Response)
GetRoutings 查询规则路由
func (*HTTPServerV2) UpdateRoutings ¶
func (h *HTTPServerV2) UpdateRoutings(req *restful.Request, rsp *restful.Response)
UpdateRoutings 修改规则路由
type RoutingArr ¶
RoutingArr 路由规则数组定义
func (*RoutingArr) ProtoMessage ¶
func (*RoutingArr) ProtoMessage()
ProtoMessage return proto message
Click to show internal directories.
Click to hide internal directories.