config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPluginLive

func CheckPluginLive(pluginAddr string) bool

Types

type Config

type Config struct {
	Dir         string
	ConfigPath  string
	ContentPath string
	PublicPath  string
	BoltPath    string
	Bind        string
	TLS         bool
	CertPath    string
	KeyPath     string
	Plugins     []PluginData
}

func GetConfig

func GetConfig() *Config

func (Config) String

func (c Config) String() string

type PluginData

type PluginData struct {
	Addr     string          `json:"addr"`
	Metadata plugin.Metadata `json:"metadata"`
}

Jump to

Keyboard shortcuts

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