core

package
v0.0.0-...-59c2f9a Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2015 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get_homedir

func Get_homedir() string

func Get_username

func Get_username() string

Types

type Config

type Config struct {
	Connections []IRCConnection `json:"connections"`
	Http        struct {
		Tls          bool   `json:"tls"`
		Cert         string `json:"cert,omitempty"`
		Key          string `json:"key,omitempty"`
		Cacert       string `json:"ca_cert,omitempty"`
		Port         uint16 `json:"port"`
		Enable_webui bool   `json:"enable_webui"`
	} `json:"http"`
	// contains filtered or unexported fields
}

func (*Config) Parse_command_line

func (c *Config) Parse_command_line()

func (*Config) Parse_config_file

func (c *Config) Parse_config_file() error

func (*Config) Write_config_file

func (c *Config) Write_config_file() error

type IRCConnection

type IRCConnection struct {
	Name         string `json:"name"`
	Host         string `json:"host"`
	Port         int    `json:"port"`
	Tls          bool   `json:"tls"`
	Tls_Verify   bool   `json:"tls_verify"`
	Auto_connect bool   `json:"auto_connect"`
}

Jump to

Keyboard shortcuts

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