config

package
v0.0.0-...-d386c04 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2024 License: BSD-3-Clause Imports: 2 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 {
	Uri       string    `json:"uri" yaml:"uri" mapstructure:"uri"`
	Migration Migration `json:"migration" yaml:"migration"`
}

func New

func New(provider configuration.Provider) (*Config, error)

func (*Config) Validate

func (conf *Config) Validate() error

type Migration

type Migration struct {
	Source string `json:"source" yaml:"source" mapstructure:"source"`
}

func (*Migration) Validate

func (conf *Migration) Validate() error

type Wrapper

type Wrapper struct {
	Datastore Config `json:"datastore" yaml:"datastore" mapstructure:"datastore"`
}

func (*Wrapper) Validate

func (conf *Wrapper) Validate() error

Jump to

Keyboard shortcuts

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