v1

package
v0.0.0-...-601b275 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "config.v1"
)

Variables

This section is empty.

Functions

func New

func New(config Config) (svc.Handler, error)

Types

type Config

type Config struct {
	Modules ModuleDefinitions `json:"modules,omitempty"`
}

func (*Config) Init

func (c *Config) Init()

type ModuleDefinition

type ModuleDefinition struct {
	Name string `json:"-"`
	Path string `json:"path"`
}

type ModuleDefinitions

type ModuleDefinitions map[string]ModuleDefinition

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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