server

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var VERSION = ""

Functions

This section is empty.

Types

type Config

type Config struct {
	Version            float64
	Addr               string
	Token              string
	Domains            []string
	ExternalIP         string `yaml:"external_ip"`
	AdminPathPrefix    string `yaml:"admin_path_prefix"`
	Database           string
	LogLevel           string        `yaml:"log_level"`
	CheckUpgrade       bool          `yaml:"check_upgrade"`
	IpLocationDatabase ipinfo.Config `yaml:"ip_location_database"`
	Notice             noticeConfig
	HTTP               rhttp.Config
	DNS                dns.Config
	MySQL              mysql.Config
	RMI                rmi.Config
	LDAP               ldap.Config
	FTP                ftp.Config
}

type Revsuit

type Revsuit struct {
	// contains filtered or unexported fields
}

func New

func New(c *Config) *Revsuit

func (*Revsuit) Run

func (revsuit *Revsuit) Run()

type Rules

type Rules struct {
	Http  []rhttp.Rule
	Dns   []dns.Rule
	Mysql []mysql.Rule
	Rmi   []rmi.Rule
	Ldap  []ldap.Rule
	Ftp   []ftp.Rule
}

Jump to

Keyboard shortcuts

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