config

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	Enable   *bool
	Name     string
	Addr     string
	Patterns []string
}

func (Bridge) Key

func (b Bridge) Key() string

type Config

type Config struct {
	Addr    string
	Bridges []Bridge
}

func Load

func Load(data []byte) (*Config, error)

func LoadFromFile

func LoadFromFile(filename string) (*Config, error)

Jump to

Keyboard shortcuts

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