leader1

command module
v0.0.0-...-994a392 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2014 License: MIT Imports: 6 Imported by: 0

README

leader-1

Go IRC Bot, named after Leader-1 from GoBots.

Configuration

Leader-1 expects there to be a leader-1.json in the current directory by default. The config file should be structured in the following way. All settings are required.

{
    "irc": {
        "host": "irc.domain.tld",
        "port": "6667",
        "nick": "mightygobot",
        "nickpass": "MyIdentifyPassword",
        "pass": "ServerPassword",
        "ssl": false,
        "normal_channel": "#channel",
        "staff_channel": "#staff",
        "timeout": 30
    },
    "db": {
    	"dsn": "user:pass@tcp(localhost)/database"
    }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
net
http
Package http provides HTTP client and server implementations.
Package http provides HTTP client and server implementations.
http/cgi
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875.
Package cgi implements CGI (Common Gateway Interface) as specified in RFC 3875.
http/cookiejar
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
Package cookiejar implements an in-memory RFC 6265-compliant http.CookieJar.
http/fcgi
Package fcgi implements the FastCGI protocol.
Package fcgi implements the FastCGI protocol.
http/httptest
Package httptest provides utilities for HTTP testing.
Package httptest provides utilities for HTTP testing.
http/httputil
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package.
Package httputil provides HTTP utility functions, complementing the more common ones in the net/http package.
http/pprof
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.
Package pprof serves via its HTTP server runtime profiling data in the format expected by the pprof visualization tool.

Jump to

Keyboard shortcuts

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