config

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateModule

func CreateModule(b []byte) (mirror.Module, error)

func CreateModules

func CreateModules(b []byte) ([]mirror.Module, error)

Types

type Config

type Config struct {
	ListenAddr string `json:"listen_addr,omitempty"`

	Pipeline *pipeline `json:"pipeline,omitempty"`
}

func Create

func Create(r io.Reader) (Config, error)

type Module

type Module struct {
	Type   string
	Name   string
	Config json.RawMessage
}

Jump to

Keyboard shortcuts

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