Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Postgres ¶
type Postgres struct { DSN string CTX context.Context DBPool *pgxpool.Pool Threads int Mutex *sync.Mutex Ticker *time.Ticker Master string // contains filtered or unexported fields }
Postgres is the main structure for each server
func (*Postgres) StringGenerator ¶
StringGenerator generate new random string for inserts
Click to show internal directories.
Click to hide internal directories.