remote

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileDescriptorsNotFound = jErrors.ConstError("descriptors on remote servers not found")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Timeout               time.Duration `mapstructure:"timeout" validate:"required"`
	ReflectionServiceName string        `mapstructure:"reflectionServiceName" validate:"required"`
	Exclude               []string      `mapstructure:"exclude"`
}

type Remote

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

func New

func New(cfg *Config, client grpcClient.ClientInterface) (*Remote, error)

func (*Remote) GetProtoFileDescriptorSet

func (r *Remote) GetProtoFileDescriptorSet(ctx context.Context) ([]*descriptorpb.FileDescriptorSet, error)

Jump to

Keyboard shortcuts

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