Documentation ¶
Index ¶
- Constants
- type AdminController
- type AuthController
- func (a *AuthController) Authorize(c *gin.Context)
- func (a *AuthController) AuthorizeCallback(c *gin.Context)
- func (_ *AuthController) EnsureAdmin(c *gin.Context)
- func (_ *AuthController) EnsureJWT(c *gin.Context)
- func (_ *AuthController) EnsureUser(c *gin.Context)
- func (a *AuthController) Init()
- func (a *AuthController) NeedSetup(c *gin.Context)
- func (a *AuthController) Setup(c *gin.Context)
- func (a *AuthController) SetupCallback(c *gin.Context)
- type CountsController
- type LogsController
- type MeController
- func (_ *MeController) AddDashboard(c *gin.Context)
- func (_ *MeController) AddMember(c *gin.Context)
- func (_ *MeController) DashRequired(name string) func(c *gin.Context)
- func (_ *MeController) Dashboards(c *gin.Context)
- func (_ *MeController) DashboardsOwn(c *gin.Context)
- func (_ *MeController) DashboardsShared(c *gin.Context)
- func (_ *MeController) DeleteDashboard(c *gin.Context)
- func (_ *MeController) EditDashboard(c *gin.Context)
- func (_ *MeController) Me(c *gin.Context)
- func (_ *MeController) MyDash(c *gin.Context)
- func (_ *MeController) MyDashOrShared(c *gin.Context)
- func (_ *MeController) RemoveMember(c *gin.Context)
- type WsController
Constants ¶
View Source
const DEFAULT_EXPIRE_TIME = 8 * time.Hour
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminController ¶
type AdminController struct{}
func (*AdminController) DashboardById ¶
func (_ *AdminController) DashboardById(c *gin.Context)
func (*AdminController) Dashboards ¶
func (_ *AdminController) Dashboards(c *gin.Context)
func (*AdminController) UserById ¶
func (_ *AdminController) UserById(c *gin.Context)
func (*AdminController) Users ¶
func (_ *AdminController) Users(c *gin.Context)
type AuthController ¶
func (*AuthController) Authorize ¶
func (a *AuthController) Authorize(c *gin.Context)
func (*AuthController) AuthorizeCallback ¶ added in v1.0.9
func (a *AuthController) AuthorizeCallback(c *gin.Context)
func (*AuthController) EnsureAdmin ¶
func (_ *AuthController) EnsureAdmin(c *gin.Context)
func (*AuthController) EnsureJWT ¶
func (_ *AuthController) EnsureJWT(c *gin.Context)
func (*AuthController) EnsureUser ¶
func (_ *AuthController) EnsureUser(c *gin.Context)
func (*AuthController) Init ¶
func (a *AuthController) Init()
func (*AuthController) NeedSetup ¶ added in v1.0.9
func (a *AuthController) NeedSetup(c *gin.Context)
func (*AuthController) Setup ¶
func (a *AuthController) Setup(c *gin.Context)
func (*AuthController) SetupCallback ¶
func (a *AuthController) SetupCallback(c *gin.Context)
type CountsController ¶
type CountsController struct{}
func (*CountsController) Find ¶
func (_ *CountsController) Find(c *gin.Context)
func (*CountsController) FindSnippet ¶
func (_ *CountsController) FindSnippet(c *gin.Context)
func (*CountsController) StatsByDashboard ¶ added in v1.0.9
func (_ *CountsController) StatsByDashboard(c *gin.Context)
func (*CountsController) StatsByLogname ¶ added in v1.0.9
func (_ *CountsController) StatsByLogname(c *gin.Context)
type LogsController ¶
type LogsController struct{}
func (*LogsController) Find ¶
func (_ *LogsController) Find(c *gin.Context)
func (*LogsController) StatsByDashboard ¶ added in v1.0.9
func (_ *LogsController) StatsByDashboard(c *gin.Context)
func (*LogsController) StatsByLogname ¶ added in v1.0.9
func (_ *LogsController) StatsByLogname(c *gin.Context)
type MeController ¶
type MeController struct{}
func (*MeController) AddDashboard ¶
func (_ *MeController) AddDashboard(c *gin.Context)
func (*MeController) AddMember ¶
func (_ *MeController) AddMember(c *gin.Context)
func (*MeController) DashRequired ¶
func (_ *MeController) DashRequired(name string) func(c *gin.Context)
func (*MeController) Dashboards ¶
func (_ *MeController) Dashboards(c *gin.Context)
func (*MeController) DashboardsOwn ¶
func (_ *MeController) DashboardsOwn(c *gin.Context)
func (*MeController) DashboardsShared ¶
func (_ *MeController) DashboardsShared(c *gin.Context)
func (*MeController) DeleteDashboard ¶
func (_ *MeController) DeleteDashboard(c *gin.Context)
func (*MeController) EditDashboard ¶
func (_ *MeController) EditDashboard(c *gin.Context)
func (*MeController) Me ¶
func (_ *MeController) Me(c *gin.Context)
func (*MeController) MyDash ¶
func (_ *MeController) MyDash(c *gin.Context)
func (*MeController) MyDashOrShared ¶
func (_ *MeController) MyDashOrShared(c *gin.Context)
func (*MeController) RemoveMember ¶
func (_ *MeController) RemoveMember(c *gin.Context)
type WsController ¶
type WsController struct{}
func (WsController) Index ¶
func (wc WsController) Index(c *gin.Context)
func (WsController) Reader ¶
func (wc WsController) Reader(w *websocket.Conn)
Click to show internal directories.
Click to hide internal directories.