Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
Config tenso.Configuration
DB *gorp.DbMap
Validator gopherpolicy.Validator
// contains filtered or unexported fields
}
API is a httpapi.API that serves the tenso API.
func NewAPI ¶
func NewAPI(cfg tenso.Configuration, db *gorp.DbMap, validator gopherpolicy.Validator) *API
NewAPI creates an tenso API.
Click to show internal directories.
Click to hide internal directories.