ircservicesgateway

package
v0.0.0-...-55aa86a Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NetservicesConfig ConfigNetServices
	DEBUG             = 1
	INFO              = 2
	WARN              = 3
)
View Source
var (
	// Version - The current version of ircservicesgateway
	Version    = "-"
	HttpRouter *http.ServeMux
	LogOutput  chan string
)
View Source
var Config struct {
	ConfigFile  string
	LogLevel    int
	Servers     []ConfigServer
	NetServices []ConfigNetServices
}

Config Structures

Functions

func CurrentConfigFile

func CurrentConfigFile() string

CurrentConfigFile - Return the full path or command for the config file in use

func Listen

func Listen()

func LoadConfig

func LoadConfig() error

func Prepare

func Prepare()

func SetConfigFile

func SetConfigFile(ConfigFile string)

Types

type ConfigNetServices

type ConfigNetServices struct {
	XmlrpcURL       string
	NsCookieName    string
	NsCookieHashKey string
	NsCookieDomain  string
	IRCservicesURI  string
	IRCservicesTest bool
}

Config IRCservices - A IRC Network Services config

type ConfigServer

type ConfigServer struct {
	LocalAddr string
	Port      int
}

ConfigServer - A web server config

Jump to

Keyboard shortcuts

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