conf

package
v0.0.0-...-a7b145a Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_gateway_conf_conf_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"`
	Token  *Token  `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Log    *Log    `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	// contains filtered or unexported fields
}

func (*Bootstrap) Descriptor deprecated

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

Deprecated: Use Bootstrap.ProtoReflect.Descriptor instead.

func (*Bootstrap) GetLog

func (x *Bootstrap) GetLog() *Log

func (*Bootstrap) GetServer

func (x *Bootstrap) GetServer() *Server

func (*Bootstrap) GetToken

func (x *Bootstrap) GetToken() *Token

func (*Bootstrap) ProtoMessage

func (*Bootstrap) ProtoMessage()

func (*Bootstrap) ProtoReflect

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

func (*Bootstrap) Reset

func (x *Bootstrap) Reset()

func (*Bootstrap) String

func (x *Bootstrap) String() string

type Log

type Log struct {
	Level             int32  `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	Formatter         string `protobuf:"bytes,2,opt,name=formatter,proto3" json:"formatter,omitempty"`
	DisableCaller     bool   `protobuf:"varint,3,opt,name=disable_caller,json=disableCaller,proto3" json:"disable_caller,omitempty"`
	DisableColor      bool   `protobuf:"varint,4,opt,name=disable_color,json=disableColor,proto3" json:"disable_color,omitempty"`
	EnableAbsPath     bool   `protobuf:"varint,5,opt,name=enable_abs_path,json=enableAbsPath,proto3" json:"enable_abs_path,omitempty"`
	EnableFunc        bool   `protobuf:"varint,6,opt,name=enable_func,json=enableFunc,proto3" json:"enable_func,omitempty"`
	IgnoreBasicFields bool   `protobuf:"varint,7,opt,name=ignore_basic_fields,json=ignoreBasicFields,proto3" json:"ignore_basic_fields,omitempty"`
	// contains filtered or unexported fields
}

func (*Log) Descriptor deprecated

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

Deprecated: Use Log.ProtoReflect.Descriptor instead.

func (*Log) GetDisableCaller

func (x *Log) GetDisableCaller() bool

func (*Log) GetDisableColor

func (x *Log) GetDisableColor() bool

func (*Log) GetEnableAbsPath

func (x *Log) GetEnableAbsPath() bool

func (*Log) GetEnableFunc

func (x *Log) GetEnableFunc() bool

func (*Log) GetFormatter

func (x *Log) GetFormatter() string

func (*Log) GetIgnoreBasicFields

func (x *Log) GetIgnoreBasicFields() bool

func (*Log) GetLevel

func (x *Log) GetLevel() int32

func (*Log) ProtoMessage

func (*Log) ProtoMessage()

func (*Log) ProtoReflect

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

func (*Log) Reset

func (x *Log) Reset()

func (*Log) String

func (x *Log) String() string

type Server

type Server struct {
	Http *Server_HTTP `protobuf:"bytes,2,opt,name=http,proto3" json:"http,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetHttp

func (x *Server) GetHttp() *Server_HTTP

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

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

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

type Server_HTTP

type Server_HTTP struct {
	Host    string               `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"`
	Port    int64                `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
	Timeout *durationpb.Duration `protobuf:"bytes,5,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*Server_HTTP) Descriptor deprecated

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

Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.

func (*Server_HTTP) GetHost

func (x *Server_HTTP) GetHost() string

func (*Server_HTTP) GetPort

func (x *Server_HTTP) GetPort() int64

func (*Server_HTTP) GetTimeout

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

func (*Server_HTTP) ProtoMessage

func (*Server_HTTP) ProtoMessage()

func (*Server_HTTP) ProtoReflect

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

func (*Server_HTTP) Reset

func (x *Server_HTTP) Reset()

func (*Server_HTTP) String

func (x *Server_HTTP) String() string

type Token

type Token struct {
	Secret     string               `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	Expiration *durationpb.Duration `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetExpiration

func (x *Token) GetExpiration() *durationpb.Duration

func (*Token) GetSecret

func (x *Token) GetSecret() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

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

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

Jump to

Keyboard shortcuts

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