types

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct {
	time.Duration
}

func (*Duration) UnmarshalText

func (d *Duration) UnmarshalText(data []byte) error

type SQL

type SQL struct {
	Host     string
	Port     string
	User     string
	Password string
	Database string
	SSL      *ssl
}

func (*SQL) Start added in v0.11.0

func (s *SQL) Start() (*sql.DB, error)

type SQLBase added in v0.119.0

type SQLBase struct {
	Host     string
	Port     string
	Database string
	SSL      sslBase
}

type SQLUser added in v0.119.0

type SQLUser struct {
	User     string
	Password string
	SSL      sslUser
}

func (SQLUser) Start added in v0.119.0

func (u SQLUser) Start(base SQLBase) (*sql.DB, error)

Jump to

Keyboard shortcuts

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