globals

package
v0.0.0-...-f7e652a Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2015 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Global constants

Index

Constants

View Source
const ADMIN_GROUP_ID = 1
View Source
const APPNAME = "HEYGO"
View Source
const AUTHOR = "Julien CHAUMONT"
View Source
const DATABASE = "heygo.db"
View Source
const DATE = "2014-12-14"
View Source
const SALT_LENGTH = 15
View Source
const VERSION = "0.2"
View Source
const WEBSITE = "https://julienc.io"

Variables

View Source
var LoadConfiguration = make(chan bool)

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Domain                 string `json:"domain"`
	Port                   string `json:"port"`
	OpensubtitlesLogin     string `json:"opensubtitles_login"`
	OpensubtitlesPassword  string `json:"opensubtitles_password"`
	OpensubtitlesUseragent string `json:"opensubtitles_useragent"`
}
var CONFIGURATION Configuration

type Group

type Group struct {
	Id    int64  `json:"id" db:"id"`
	Title string `json:"title" db:"title"`
}

type Invitation

type Invitation struct {
	Id    int64  `json:"id" db:"id"`
	Value string `json:"value" db:"value"`
}

type User

type User struct {
	Id       int64  `json:"id" db:"id"`
	Login    string `json:"login" db:"login"`
	Password string `json:"password" db:"password"`
	Salt     string `json:"salt" db:"salt"`
}

type Video

type Video struct {
	Id     int64  `json:"id" db:"id"`
	Title  string `json:"title" db:"title"`
	Path   string `json:"path" db:"path"`
	Slug   string `json:"slug" db:"slug"`
	ImdbId string `json:"imdb_id" db:"imdb_id"`
}

type VideoGroup

type VideoGroup struct {
	Id    int64  `json:"id" db:"id"`
	Title string `json:"title" db:"title"`
}

Jump to

Keyboard shortcuts

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