mol

package
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbConnection

type DbConnection struct {
	AppName             string
	Host                string
	Port                int
	Name                string
	Scheme              string
	Username            string
	Password            string
	UnsafeCompatibility *bool
	PrintUnsafeError    *bool
	AutoRebind          *bool
	PrintSql            *bool
	MaxLifeTimeIns      int
	MaxIdleTimeIns      int
	MaxIdle             int
	MaxOpen             int
}

type DbExecReport

type DbExecReport struct {
	Query      string
	Args       []any
	StartedAt  time.Time
	FinishedAt time.Time
	DurationMs int64
	Hosts      []*DbExecReportHost
}

type DbExecReportHost

type DbExecReportHost struct {
	Host       string
	StartedAt  time.Time
	FinishedAt time.Time
	DurationMs int64
}

type NetOpt

type NetOpt struct {
	UsingClientLB         *bool
	TlsConfig             *tls.Config
	TlsCertFile           *string
	TlsServerNameOverride *string
}

Jump to

Keyboard shortcuts

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