Documentation ¶
Index ¶
- Variables
- func CreateAccount(username, email, password string)
- func GetAllRecords(token string)
- func GetRecordsLast15(token string)
- func GetRecordsLastX(token string, minutes int)
- func GetRecordsWithFunction(token string, function string)
- func GetRecordsWithLineNum(token string, line int)
- func GetRecordsWithLogLevel(token string, level string)
- func Login(email, password string)
- func ValidateMail(email string) error
- func WriteToken(token string) bool
- type AllRecordStruct
- type LogRecord
- type LoginResponse
- type LoginUser
- type RecordFunction
- type RecordLevel
- type RecordLineNum
- type User
- type XRecords
Constants ¶
This section is empty.
Variables ¶
View Source
var Tail bool
View Source
var Tojson bool
Functions ¶
func CreateAccount ¶
func CreateAccount(username, email, password string)
func GetAllRecords ¶
func GetAllRecords(token string)
func GetRecordsLast15 ¶
func GetRecordsLast15(token string)
func GetRecordsLastX ¶
func GetRecordsWithFunction ¶
func GetRecordsWithLineNum ¶
func GetRecordsWithLogLevel ¶
func ValidateMail ¶
func WriteToken ¶
Types ¶
type AllRecordStruct ¶
type LogRecord ¶
type LogRecord struct { Id int `json:"id"` Level string `json:"level"` Message string `json:"message"` StackTrace string `json:"stacktrace"` Function string `json:"function"` LineNumber int `json:"linenum"` Process int `json:"process"` TimeStamp time.Time `json:"timestamp"` Created time.Time `json:"created"` Logger string `json:"logger"` TokenId string `json:"token"` UserId int `json:"userid"` }
type LoginResponse ¶
type RecordFunction ¶
type RecordLevel ¶
type RecordLineNum ¶
Click to show internal directories.
Click to hide internal directories.