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 GRPCOptionListen ¶
func GRPCOptionListen(listenAddr string) GRPCOption
func GRPCOptionMetrics ¶
func GRPCOptionMetrics(prefix string) GRPCOption
func GRPCOptionOrigin ¶
func GRPCOptionOrigin(opts ...grpc.ServerOption) GRPCOption
Click to show internal directories.
Click to hide internal directories.