models

package
v0.0.0-...-a29ef8a Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2016 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogAdminAction

func LogAdminAction(playerid uint, permission authority.AuthAction, relid uint) error

func LogCustomAdminAction

func LogCustomAdminAction(playerid uint, reltext string, relid uint) error

func TFTVStreamStatusUpdater

func TFTVStreamStatusUpdater()

Types

type AdminLogEntry

type AdminLogEntry struct {
	gorm.Model
	PlayerID uint   //Admin responsible for action
	RelID    uint   `sql:"default:0"`  //The targated player
	RelText  string `sql:"default:''"` //The action text
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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