server

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(serv *grpc.Server, interrupt func() error)

Types

type HealthCheckFunc

type HealthCheckFunc func(ctx context.Context) error

func (HealthCheckFunc) HealthCheck

func (f HealthCheckFunc) HealthCheck(ctx context.Context) error

type HealthChecker

type HealthChecker interface {
	HealthCheck(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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