profile

package
v2.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPHandleDiscoveryFunc

func HTTPHandleDiscoveryFunc(req *restful.Request, rep *restful.Response)

HTTPHandleDiscoveryFunc is a go-restful handler which can expose profile of discovery in http server

func HTTPHandleProfileFunc

func HTTPHandleProfileFunc(req *restful.Request, rep *restful.Response)

HTTPHandleProfileFunc is a go-restful handler which can expose all profiles in http server

func HTTPHandleRouteRuleFunc

func HTTPHandleRouteRuleFunc(req *restful.Request, rep *restful.Response)

HTTPHandleRouteRuleFunc is a go-restful handler which can expose profile of route rule in http server

Types

type Profile

type Profile struct {
	RouteRule map[string][]*config.RouteRule              `json:"routeRule"`
	Discovery map[string][]*registry.MicroServiceInstance `json:"discovery"`
}

Profile contains route rule and discovery

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL