events

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

* Arc - Copyleft of Simone 'evilsocket' Margaritelli. * evilsocket at protonmail dot com * https://www.evilsocket.net/ * * See LICENSE.

* Arc - Copyleft of Simone 'evilsocket' Margaritelli. * evilsocket at protonmail dot com * https://www.evilsocket.net/ * * See LICENSE.

* Arc - Copyleft of Simone 'evilsocket' Margaritelli. * evilsocket at protonmail dot com * https://www.evilsocket.net/ * * See LICENSE.

Index

Constants

This section is empty.

Variables

View Source
var (
	Pool = make([]Event, 0)
)

Functions

func Add

func Add(event Event)

func Clear

func Clear()

func Report

func Report(event Event)

func Setup added in v1.0.5

func Setup() error

Types

type Event

type Event struct {
	Name        string
	Time        time.Time
	Title       string
	Description string
}

func AddNew

func AddNew(name, title, description string) Event

func InvalidToken added in v1.0.1

func InvalidToken(address, auth string, err error) Event

func Login

func Login(successful bool, address string, username string, password string) Event

func New

func New(name, title, description string) Event

func RecordExpired

func RecordExpired(r *db.Record) Event

func UpdateAvailable added in v1.0.5

func UpdateAvailable(curr_ver, new_ver, url string) Event

func (Event) String

func (e Event) String() string

Jump to

Keyboard shortcuts

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