config

package
v0.1.39 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 7 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 {
	Mode     Mode   `pkl:"mode"`
	TreeRoot string `pkl:"treeRoot"`
}

func Load

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

type Mode

type Mode string
const (
	DynamicMode  Mode = "dynamic"
	EmbeddedMode Mode = "embedded"
	RootMode     Mode = "root"
)

func (Mode) String

func (rcv Mode) String() string

func (*Mode) UnmarshalBinary

func (rcv *Mode) UnmarshalBinary(data []byte) error

Jump to

Keyboard shortcuts

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