Documentation ¶
Index ¶
- type APIMethodDetails
- type HttpURIRouteToSrvMethod
- func (r *HttpURIRouteToSrvMethod) AddLocalSrv(fullMethod string)
- func (r *HttpURIRouteToSrvMethod) AddRoute(uri string, srvMethod *APIMethodDetails)
- func (h *HttpURIRouteToSrvMethod) DeleteRouterDetails(fullMethod string, method *descriptorpb.MethodDescriptorProto)
- func (h *HttpURIRouteToSrvMethod) DeleteRouters(pd gateway.ProtobufDescription)
- func (r *HttpURIRouteToSrvMethod) GetAllRoutes() map[string]*APIMethodDetails
- func (r *HttpURIRouteToSrvMethod) GetRoute(uri string) *APIMethodDetails
- func (r *HttpURIRouteToSrvMethod) GetRouteByGrpcMethod(method string) *APIMethodDetails
- func (r *HttpURIRouteToSrvMethod) IsLocalSrv(fullMethod string) bool
- func (r *HttpURIRouteToSrvMethod) LoadAllRouters(pd gateway.ProtobufDescription)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIMethodDetails ¶
type HttpURIRouteToSrvMethod ¶
type HttpURIRouteToSrvMethod struct {
// contains filtered or unexported fields
}
func Get ¶
func Get() *HttpURIRouteToSrvMethod
func NewHttpURIRouteToSrvMethod ¶
func NewHttpURIRouteToSrvMethod() *HttpURIRouteToSrvMethod
func (*HttpURIRouteToSrvMethod) AddLocalSrv ¶
func (r *HttpURIRouteToSrvMethod) AddLocalSrv(fullMethod string)
func (*HttpURIRouteToSrvMethod) AddRoute ¶
func (r *HttpURIRouteToSrvMethod) AddRoute(uri string, srvMethod *APIMethodDetails)
func (*HttpURIRouteToSrvMethod) DeleteRouterDetails ¶
func (h *HttpURIRouteToSrvMethod) DeleteRouterDetails(fullMethod string, method *descriptorpb.MethodDescriptorProto)
func (*HttpURIRouteToSrvMethod) DeleteRouters ¶
func (h *HttpURIRouteToSrvMethod) DeleteRouters(pd gateway.ProtobufDescription)
func (*HttpURIRouteToSrvMethod) GetAllRoutes ¶
func (r *HttpURIRouteToSrvMethod) GetAllRoutes() map[string]*APIMethodDetails
func (*HttpURIRouteToSrvMethod) GetRoute ¶
func (r *HttpURIRouteToSrvMethod) GetRoute(uri string) *APIMethodDetails
func (*HttpURIRouteToSrvMethod) GetRouteByGrpcMethod ¶
func (r *HttpURIRouteToSrvMethod) GetRouteByGrpcMethod(method string) *APIMethodDetails
func (*HttpURIRouteToSrvMethod) IsLocalSrv ¶
func (r *HttpURIRouteToSrvMethod) IsLocalSrv(fullMethod string) bool
func (*HttpURIRouteToSrvMethod) LoadAllRouters ¶
func (r *HttpURIRouteToSrvMethod) LoadAllRouters(pd gateway.ProtobufDescription)
Click to show internal directories.
Click to hide internal directories.