server

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const VERSION = "0.1.7"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version            float64
	Addr               string
	Token              string
	Domain             string
	ExternalIP         string `yaml:"external_ip"`
	AdminPathPrefix    string `yaml:"admin_path_prefix"`
	Database           string
	LogLevel           string        `yaml:"log_level"`
	IpLocationDatabase ipinfo.Config `yaml:"ip_location_database"`
	Notice             noticeConfig
	HTTP               rhttp.Config
	DNS                dns.Config
	MySQL              mysql.Config
	RMI                rmi.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
	Ftp   []ftp.Rule
}

Jump to

Keyboard shortcuts

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