config

package
v0.0.0-...-d48154d Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromYaml

func LoadFromYaml(path string, cfg interface{}) error

Types

type Config

type Config struct {
	Watch    watchimpl.Config    `json:"watch"        required:"true"`
	Domain   domain.Config       `json:"domain"       required:"true"`
	Finetune finetuneimpl.Config `json:"finetune"     required:"true"`
}

func LoadConfig

func LoadConfig(path string) (*Config, error)

func (*Config) InitDomain

func (cfg *Config) InitDomain()

Jump to

Keyboard shortcuts

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