Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCBundle ¶
func NewGRPCBundle ¶
func NewGRPCBundle(name string, opts ...GRPCOption) *GRPCBundle
func (*GRPCBundle) GetName ¶
func (s *GRPCBundle) GetName() string
func (*GRPCBundle) Run ¶
func (s *GRPCBundle) Run(ctx context.Context)
func (*GRPCBundle) Stop ¶
func (s *GRPCBundle) Stop(ctx context.Context)
type GRPCOption ¶
type GRPCOption func(bundle *GRPCBundle)
func GRPCListen ¶
func GRPCListen(listenAddr string) GRPCOption
func GRPCServerFactory ¶
func GRPCServerFactory(f func() *grpc.Server) GRPCOption
Click to show internal directories.
Click to hide internal directories.