config

package
v0.0.0-...-c27917d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch()

Types

type Config

type Config struct {
	Models map[string]*Model
}
var DefaultConfig *Config = &Config{Models: map[string]*Model{}}

type Metadata

type Metadata struct {
	OwnedBy     string   `toml:"owned_by"`
	Permission  []string `toml:"permission"`
	Description string   `toml:"description"`
	Tasks       []string `toml:"tasks"`
}

type Model

type Model struct {
	Metadata Metadata `toml:"metadata"`
	Network  Network  `toml:"network"`
}

type Network

type Network struct {
	URL  string `toml:"url"`
	Type string `toml:"type"`
}

Jump to

Keyboard shortcuts

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