Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiscoverServer ¶
type DiscoverServer struct {
// contains filtered or unexported fields
}
func NewDiscoverServer ¶
func NewDiscoverServer(options ...Option) *DiscoverServer
func (*DiscoverServer) Discover ¶
func (g *DiscoverServer) Discover(server apiv2.PolarisGRPC_DiscoverServer) error
Discover 统一发现接口
type Option ¶
type Option func(s *DiscoverServer)
func WithAllowAccess ¶
func WithHealthCheckerServer ¶
func WithHealthCheckerServer(svr *healthcheck.Server) Option
func WithNamingServer ¶
func WithNamingServer(svr service.DiscoverServer) Option
Click to show internal directories.
Click to hide internal directories.