Documentation ¶
Index ¶
- Constants
- Variables
- type Adapter
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetConnectionMaxIdle() int64
- func (x *Configuration) GetConnectionMaxLifetimeSeconds() int64
- func (x *Configuration) GetConnectionMaxOpen() int64
- func (x *Configuration) GetConnectionString() string
- func (x *Configuration) GetDialect() string
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
Constants ¶
View Source
const Key = "sqlDb"
Variables ¶
View Source
var File_adapters_sql_db_sql_db_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
func (*Adapter) GetDatabase ¶
func (*Adapter) Initialize ¶
func (a *Adapter) Initialize()
type Configuration ¶
type Configuration struct { ConnectionString string `protobuf:"bytes,1,opt,name=connection_string,json=connectionString,proto3" json:"connection_string,omitempty"` ConnectionMaxLifetimeSeconds int64 `` /* 150-byte string literal not displayed */ ConnectionMaxIdle int64 `protobuf:"varint,3,opt,name=connection_max_idle,json=connectionMaxIdle,proto3" json:"connection_max_idle,omitempty"` ConnectionMaxOpen int64 `protobuf:"varint,4,opt,name=connection_max_open,json=connectionMaxOpen,proto3" json:"connection_max_open,omitempty"` Dialect string `protobuf:"bytes,5,opt,name=dialect,proto3" json:"dialect,omitempty"` // contains filtered or unexported fields }
func (*Configuration) Descriptor
deprecated
func (*Configuration) Descriptor() ([]byte, []int)
Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) GetConnectionMaxIdle ¶
func (x *Configuration) GetConnectionMaxIdle() int64
func (*Configuration) GetConnectionMaxLifetimeSeconds ¶
func (x *Configuration) GetConnectionMaxLifetimeSeconds() int64
func (*Configuration) GetConnectionMaxOpen ¶
func (x *Configuration) GetConnectionMaxOpen() int64
func (*Configuration) GetConnectionString ¶
func (x *Configuration) GetConnectionString() string
func (*Configuration) GetDialect ¶
func (x *Configuration) GetDialect() string
func (*Configuration) ProtoMessage ¶
func (*Configuration) ProtoMessage()
func (*Configuration) ProtoReflect ¶
func (x *Configuration) ProtoReflect() protoreflect.Message
func (*Configuration) Reset ¶
func (x *Configuration) Reset()
func (*Configuration) String ¶
func (x *Configuration) String() string
Click to show internal directories.
Click to hide internal directories.