subscribe

package
v0.1.4-beta Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcSubscribe

type GrpcSubscribe struct {
	// contains filtered or unexported fields
}

func NewGrpcSubscribe

func NewGrpcSubscribe(opts ...Option) *GrpcSubscribe

func (*GrpcSubscribe) Subscribe

func (g *GrpcSubscribe) Subscribe() *gGrpc.ClientConn

Subscribe subscribe GRPC service

type Option

type Option func(o *GrpcSubscribe)

func EnableTls

func EnableTls() Option

func WithDiscovery

func WithDiscovery(dis registry.Discovery) Option

func WithRootCAFileGroup

func WithRootCAFileGroup(group string) Option

func WithRootCAFileName

func WithRootCAFileName(rca string) Option

func WithServiceName

func WithServiceName(name string) Option

Jump to

Keyboard shortcuts

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