controllers

package
v0.0.0-...-4d42d77 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterConsoleLogin

func FilterConsoleLogin(ctx *context.Context)

FilterConsoleLogin prohabits those unauthorized requests

Types

type APIController

type APIController struct {
	beego.Controller
}

func (*APIController) GetRole

func (c *APIController) GetRole()

type ConsoleAuthResponse

type ConsoleAuthResponse struct {
	Message string      `json:"msg"`
	URL     string      `json:"url"`
	Role    ConsoleRole `json:"role"`
}

type ConsoleRole

type ConsoleRole struct {
	Role string `json:"role"`
}

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Action

func (c *MainController) Action()

func (*MainController) Details

func (c *MainController) Details()

func (*MainController) Error

func (c *MainController) Error()

func (*MainController) Overview

func (c *MainController) Overview()

Jump to

Keyboard shortcuts

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