controllers

package
v0.0.0-...-17e70bd Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HOST       = "api.projectoxford.ai"
	URL_FORMAT = "/academic/v1.0/evaluate"
	KEY        = "d43df72e86cf4a81bb6a594d519d1b78"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Entity

type Entity struct {
	Ti *string `json:"Ti"`
	CC *int64  `json:CC`
	Id *int64  `json:Id`
}

type JSONRet

type JSONRet struct {
	Expr     string   `json:"expr"`
	Entities []Entity `json:"entities"`
}

type MainController

type MainController struct {
	beego.Controller
}

func (*MainController) Get

func (c *MainController) Get()

func (*MainController) Post

func (c *MainController) Post()

Jump to

Keyboard shortcuts

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