global

package
v0.0.0-...-621b64f Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: MIT Imports: 5 Imported by: 4

Documentation

Overview

global configuration variables.

Index

Constants

View Source
const (
	MAX_SYNC_RETRIES   = 3
	STATE_SYNC_TIMEOUT = 9 * time.Second
	STATE_SYNC_PERIOD  = 3 * STATE_SYNC_TIMEOUT
)

Actually timeout and period could be set dynamically depending on the current latencies

Variables

View Source
var (
	Cfg            Config
	ServerPrefix   *string
	ServerJabberId string
)

Functions

func DebugHttp

func DebugHttp(msg string)

Types

type Config

type Config struct {
	Main struct {
		LocationId int64
	}
	XMPP struct {
		Server string
		User   string
		Pass   string
	}
}

Jump to

Keyboard shortcuts

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