admin

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Created string `json:"createdOn"`
	Chat    string `json:"chat"`
	Level   int    `json:"level"`
	Message string `json:"message"`
}

func GetLogs

func GetLogs(from, to string, minLevel int) ([]Log, error)

type Router

type Router struct {
	// contains filtered or unexported fields
}

func NewRouter

func NewRouter(bc *bot.BotController) *Router

func (*Router) Hook

func (r *Router) Hook(g *gin.RouterGroup)

func (*Router) Logs

func (r *Router) Logs(c *gin.Context)

Jump to

Keyboard shortcuts

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