contracts

package
v1.20.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dsn      string
	Host     string
	Port     int
	Database string
	Username string
	Password string
}

Config Used in config/database.go

type ConfigBuilder

type ConfigBuilder interface {
	Config() contractsconfig.Config
	Connection() string
	Readers() []FullConfig
	Writers() []FullConfig
}

type FullConfig

type FullConfig struct {
	Charset  string
	Timezone string
	Config
	Connection string
	Driver     string
	Prefix     string
}

FullConfig Fill the default value for Config

Jump to

Keyboard shortcuts

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