MultiwaySwitch

package
v0.0.0-...-2caa106 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2015 License: GPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FATAL level = iota
	ERROR
	WARMING
	INFO
)

Variables

This section is empty.

Functions

func CheckSecretKey

func CheckSecretKey(id int64, secretKey string) bool

func FlushToken

func FlushToken(id int64) (string, error)

Types

type Drone

type Drone struct {
	Id        int64 `db:"drone_id"`
	Created   int64
	Token     string
	SecretKey string
}

type PackageType

type PackageType byte
const (
	AUTHORIZATION PackageType = iota
)

Jump to

Keyboard shortcuts

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