config

package
v1.0.24 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func (*Config) GetLogMode

func (c *Config) GetLogMode() bool

func (*Config) GetURI

func (c *Config) GetURI() string

func (*Config) SetLogMode

func (c *Config) SetLogMode(logMode bool)

func (*Config) SetURI

func (c *Config) SetURI(uri string)

func (*Config) Validate

func (c *Config) Validate() error

type IConfig

type IConfig interface {
	SetURI(uri string)
	GetURI() string
	SetLogMode(logMode bool)
	GetLogMode() bool
	Validate() error
}

func NewDatabaseConfig

func NewDatabaseConfig() IConfig

Jump to

Keyboard shortcuts

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