conf

package
v0.1.3-beta Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_polaris_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Polaris

type Polaris struct {
	Namespace string               `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Token     string               `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Weight    int32                `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"`
	Ttl       int32                `protobuf:"varint,5,opt,name=ttl,proto3" json:"ttl,omitempty"`
	Timeout   *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Polaris) Descriptor deprecated

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

Deprecated: Use Polaris.ProtoReflect.Descriptor instead.

func (*Polaris) GetNamespace

func (x *Polaris) GetNamespace() string

func (*Polaris) GetTimeout

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

func (*Polaris) GetToken

func (x *Polaris) GetToken() string

func (*Polaris) GetTtl

func (x *Polaris) GetTtl() int32

func (*Polaris) GetWeight

func (x *Polaris) GetWeight() int32

func (*Polaris) ProtoMessage

func (*Polaris) ProtoMessage()

func (*Polaris) ProtoReflect

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

func (*Polaris) Reset

func (x *Polaris) Reset()

func (*Polaris) String

func (x *Polaris) String() string

Jump to

Keyboard shortcuts

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