booting

package
v0.0.0-...-3ddb297 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

type Daemon func(ctx context.Context) (start func() error, stop func())

Daemon start func & stop func

func NewGRPCDaemon

func NewGRPCDaemon(c *configs.GRPCConfig, register func(*grpc.Server)) (daemon Daemon, err error)

NewGRPCDaemon returns a daemon to start & stop grpc server

Jump to

Keyboard shortcuts

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