impl

package
v0.0.0-...-464103a Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigServer

type ConfigServer struct {
	proto.UnimplementedConfigServer
	// contains filtered or unexported fields
}

ConfigServer ... Implementation of auto-generated ConfigServer Grpc framework

func NewConfigServer

func NewConfigServer(
	config *proto.GrpcServerConfig,
	healthRegistry *HealthRegistry,
) *ConfigServer

NewConfigServer ...

func (*ConfigServer) GetConfig

GetConfig ...

type HealthRegistry

type HealthRegistry struct {
	healthproto.UnimplementedHealthServer
	// contains filtered or unexported fields
}

HealthRegistry ... Implementation of auto-generated ConfigServer Grpc framework See https://github.com/grpc/grpc/blob/master/doc/health-checking.md

func NewHealthRegistry

func NewHealthRegistry() *HealthRegistry

NewHealthRegistry ...

func (*HealthRegistry) Check

Check ...

func (*HealthRegistry) MarkAsNotServing

func (r *HealthRegistry) MarkAsNotServing(service interface{})

MarkAsNotServing ...

func (*HealthRegistry) MarkAsServing

func (r *HealthRegistry) MarkAsServing(service interface{})

MarkAsServing ...

func (*HealthRegistry) Resume

func (r *HealthRegistry) Resume()

Resume ... See health.Server.Resume

func (*HealthRegistry) Shutdown

func (r *HealthRegistry) Shutdown()

Shutdown ... See health.Server.Shutdown

func (*HealthRegistry) Watch

Watch ...

Jump to

Keyboard shortcuts

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