keepalive

package
v0.0.0-...-ef50af7 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VersionMajor         = 1
	VersionMinor         = 0
	VersionPatch         = 0
	VersionReleaseLevel  = ""
	VersionReleaseNumber = 1
)

Version component constants for the current build.

Variables

This section is empty.

Functions

func KeepAlive

func KeepAlive(conf config.Config) (err error)

func Version

func Version() string

Version returns the semantic version for the current build.

Types

type Server

type Server struct {
	pb.UnimplementedKeepAliveServer
	// contains filtered or unexported fields
}

func New

func New(conf config.Config) (s *Server, err error)

func (*Server) Echo

func (s *Server) Echo(stream pb.KeepAlive_EchoServer) (err error)

func (*Server) Serve

func (s *Server) Serve() (err error)

func (*Server) Shutdown

func (s *Server) Shutdown() (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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