defaults

package
v0.0.0-...-cec6815 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Overview

Default package implements versioning primitives.

Index

Constants

View Source
const ContentType = "application/json; charset=utf8"

Default Content-Type used for web calls.

View Source
const Debug = false

Debug messages

View Source
const Major = "0"

Major version number.

View Source
const Minor = "2"

Minor version number.

View Source
const TelegramAPIBase string = "https://api.telegram.org/bot"

Telegram API base URL

View Source
const WarnLimit = 2

Number of warns before a ban is issued. Todo: make it parameterized.

Variables

View Source
var Release = "0"

Release number. It will be overwritten during build. Do not try to manage it here.

View Source
var Version = Major + "." + Minor + "." + Release

Version compiled into a string.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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