config

package
v0.0.0-...-0c08822 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unmarshal

func Unmarshal(buffer []byte, config Configuration, opts ...Option) error

func UnmarshalFile

func UnmarshalFile(filepath string, config Configuration, opts ...Option) error

func Watch

func Watch(filepath string, initializer func() Configuration, opts ...Option) <-chan Configuration

Types

type Configuration

type Configuration interface {
	Init() error
}

type Option

type Option interface {
	// contains filtered or unexported methods
}

func WithTagName

func WithTagName(name string) Option

Jump to

Keyboard shortcuts

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