api

package
v0.0.0-...-760dedd Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResponseSuccess          = "OK"
	ResponseNoAccess         = "No Access"
	ResponseDatabaseError    = "Database Error"
	ResponseMissingTitle     = "Missing Title"
	ResponseMalformedRequest = "Malformed Request"
	ResponseInvalidParent    = "Invalid Parent"
	ResponseNoEntity         = "No Entity Found"
)

Variables

This section is empty.

Functions

func Setup

func Setup(usp userpkg.UserStoreProvider)

Types

type ReadUserRequest

type ReadUserRequest struct {
	UserId string
}

type ReadUserResponse

type ReadUserResponse struct {
	ResponseCode string
	User         User
}

type User

type User struct {
	UserId   string
	Username string
}

Jump to

Keyboard shortcuts

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