Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MongoDB ¶
type MongoDB struct { Host string `json:"host,omitempty" yaml:"host,omitempty"` Port string `json:"port,omitempty" yaml:"port,omitempty"` Database string `json:"database,omitempty" yaml:"database,omitempty"` Collections custom.Map[string, string] `json:"collections,omitempty" yaml:"collections,omitempty"` sync.RWMutex // contains filtered or unexported fields }
func (*MongoDB) GetCollection ¶
func (m *MongoDB) GetCollection(collectionName string) (*mongo.Collection, error)
type MySql ¶
type MySql struct { User string `json:"user,omitempty" yaml:"user,omitempty"` Password string `json:"password,omitempty" yaml:"password,omitempty"` Method string `json:"method,omitempty" yaml:"method,omitempty"` Host string `json:"host,omitempty" yaml:"host,omitempty"` Port string `json:"port,omitempty" yaml:"port,omitempty"` Schema string `json:"schema,omitempty" yaml:"schema,omitempty"` Query *string `json:"query,omitempty" yaml:"query,omitempty"` sync.RWMutex // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.