config

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 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 {
	//LogLevel string `mapstructure:"log_level"`
	Workers   types.WorkerTasks    `mapstructure:"workers" validate:"omitempty,required,unique=Id,dive"`
	Scheduled types.ScheduledTasks `mapstructure:"scheduled" validate:"omitempty,required,unique=Id,dive"`
}

func DefaultConfig

func DefaultConfig() Config

func NewConfig

func NewConfig() Config

Jump to

Keyboard shortcuts

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