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

Functions

This section is empty.

Types

type Db

type Db struct {
	Driver      string               `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
	Source      string               `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
	MinConn     int32                `protobuf:"varint,3,opt,name=min_conn,json=minConn,proto3" json:"min_conn,omitempty"`
	MaxConn     int32                `protobuf:"varint,4,opt,name=max_conn,json=maxConn,proto3" json:"max_conn,omitempty"`
	MaxIdleTime *durationpb.Duration `protobuf:"bytes,5,opt,name=max_idle_time,json=maxIdleTime,proto3" json:"max_idle_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Db) Descriptor deprecated

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

Deprecated: Use Db.ProtoReflect.Descriptor instead.

func (*Db) GetDriver

func (x *Db) GetDriver() string

func (*Db) GetMaxConn

func (x *Db) GetMaxConn() int32

func (*Db) GetMaxIdleTime

func (x *Db) GetMaxIdleTime() *durationpb.Duration

func (*Db) GetMinConn

func (x *Db) GetMinConn() int32

func (*Db) GetSource

func (x *Db) GetSource() string

func (*Db) ProtoMessage

func (*Db) ProtoMessage()

func (*Db) ProtoReflect

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

func (*Db) Reset

func (x *Db) Reset()

func (*Db) String

func (x *Db) String() string

Jump to

Keyboard shortcuts

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