Documentation ¶
Index ¶
- Variables
- type Db
- func (*Db) Descriptor() ([]byte, []int)deprecated
- func (x *Db) GetDriver() string
- func (x *Db) GetMaxConn() int32
- func (x *Db) GetMaxIdleTime() *durationpb.Duration
- func (x *Db) GetMinConn() int32
- func (x *Db) GetSource() string
- func (*Db) ProtoMessage()
- func (x *Db) ProtoReflect() protoreflect.Message
- func (x *Db) Reset()
- func (x *Db) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_db_proto protoreflect.FileDescriptor
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) GetMaxConn ¶
func (*Db) GetMaxIdleTime ¶
func (x *Db) GetMaxIdleTime() *durationpb.Duration
func (*Db) GetMinConn ¶
func (*Db) ProtoMessage ¶
func (*Db) ProtoMessage()
func (*Db) ProtoReflect ¶
func (x *Db) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.