grpc

package
v0.10.4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Prefix for GRPC URL inputs. GRPC does not define a standard prefix. This prefix helps to differentiate remote
	// URLs for REST APIs (i.e - HTTP) from GRPC endpoints.
	Prefix          = "grpc://"
	PrefixSecure    = "grpcs://"
	SupportedScheme = "(envoy|dns|uds|xds)"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagSyncServiceClient added in v0.4.5

type FlagSyncServiceClient interface {
	syncv1grpc.FlagSyncServiceClient
}

type FlagSyncServiceClientResponse added in v0.4.5

type FlagSyncServiceClientResponse interface {
	syncv1grpc.FlagSyncService_SyncFlagsClient
}

type Sync

type Sync struct {
	CertPath          string
	CredentialBuilder grpccredential.Builder
	Logger            *logger.Logger
	ProviderID        string
	Secure            bool
	Selector          string
	URI               string
	MaxMsgSize        int
	// contains filtered or unexported fields
}

func (*Sync) Init

func (g *Sync) Init(_ context.Context) error

func (*Sync) IsReady

func (g *Sync) IsReady() bool

func (*Sync) ReSync

func (g *Sync) ReSync(ctx context.Context, dataSync chan<- sync.DataSync) error

func (*Sync) Sync

func (g *Sync) Sync(ctx context.Context, dataSync chan<- sync.DataSync) error

Directories

Path Synopsis
mock
Package credendialsmock is a generated GoMock package.
Package credendialsmock is a generated GoMock package.
Package grpcmock is a generated GoMock package.
Package grpcmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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