conf

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Grpc

type Grpc struct {
	Network     string               `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
	Addr        string               `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
	Tls         bool                 `protobuf:"varint,3,opt,name=tls,proto3" json:"tls,omitempty"`
	TlsAuthType int32                `protobuf:"varint,4,opt,name=tls_auth_type,json=tlsAuthType,proto3" json:"tls_auth_type,omitempty"`
	Timeout     *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Grpc) Descriptor deprecated

func (*Grpc) Descriptor() ([]byte, []int)

Deprecated: Use Grpc.ProtoReflect.Descriptor instead.

func (*Grpc) GetAddr

func (x *Grpc) GetAddr() string

func (*Grpc) GetNetwork

func (x *Grpc) GetNetwork() string

func (*Grpc) GetTimeout

func (x *Grpc) GetTimeout() *durationpb.Duration

func (*Grpc) GetTls

func (x *Grpc) GetTls() bool

func (*Grpc) GetTlsAuthType

func (x *Grpc) GetTlsAuthType() int32

func (*Grpc) ProtoMessage

func (*Grpc) ProtoMessage()

func (*Grpc) ProtoReflect

func (x *Grpc) ProtoReflect() protoreflect.Message

func (*Grpc) Reset

func (x *Grpc) Reset()

func (*Grpc) String

func (x *Grpc) String() string

Jump to

Keyboard shortcuts

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