controllers

package
v1.0.0-develop.3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*revel.Controller
}

func (App) Index

func (c App) Index() revel.Result

type Captcha

type Captcha struct {
	*revel.Controller
}

func (Captcha) Index

func (c Captcha) Index(name string) revel.Result

type DisplayImageByName

type DisplayImageByName string

func (DisplayImageByName) Apply

func (name DisplayImageByName) Apply(req *revel.Request, resp *revel.Response)

type Fetch

type Fetch struct {
	*revel.Controller
}

func (Fetch) Index

func (f Fetch) Index(shareable, guid string) revel.Result

type Hcard

type Hcard struct {
	*revel.Controller
}

func (Hcard) User

func (c Hcard) User(guid string) revel.Result

type IndexJson

type IndexJson struct {
	Links []IndexLinkJson `json:"links"`
}

type IndexLinkJson

type IndexLinkJson struct {
	Rel  string `json:"rel"`
	Href string `json:"href"`
}

type NodeInfo

type NodeInfo struct {
	*revel.Controller
}

func (NodeInfo) Index

func (n NodeInfo) Index() revel.Result

func (NodeInfo) Schema

func (n NodeInfo) Schema(version string) revel.Result

type People

type People struct {
	*revel.Controller
}

func (People) IndexStream

func (p People) IndexStream(guid, fields string, offset uint) revel.Result

type Post

type Post struct {
	*revel.Controller
}

func (Post) Index

func (p Post) Index(guid string) revel.Result

type Profile

type Profile struct {
	*revel.Controller
}

func (Profile) Index

func (p Profile) Index(guid string) revel.Result

func (Profile) IndexPagination

func (p Profile) IndexPagination(guid string, page uint) revel.Result

type Receiver

type Receiver struct {
	*revel.Controller
}

func (Receiver) Private

func (r Receiver) Private() revel.Result

func (Receiver) Public

func (r Receiver) Public() revel.Result

func (Receiver) Telegram

func (r Receiver) Telegram(token string) revel.Result

type RenderBytes

type RenderBytes []byte

func (RenderBytes) Apply

func (b RenderBytes) Apply(req *revel.Request, resp *revel.Response)

type SchemaInOutJson

type SchemaInOutJson struct {
	Inbound  []string `json:"inbound"`
	Outbound []string `json:"outbound"`
}

type SchemaJson

type SchemaJson struct {
	Version           string             `json:"version"`
	Software          SchemaSoftwareJson `json:"software"`
	Protocols         interface{}        `json:"protocols"`
	Services          SchemaInOutJson    `json:"services"`
	OpenRegistrations bool               `json:"openRegistrations"`
	Usage             SchemaUsageJson    `json:"usage"`
	MetaData          SchemaMetaDataJson `json:"metadata"`
}

type SchemaMetaDataJson

type SchemaMetaDataJson struct {
	NodeName     string `json:"nodeName"`
	XmppChat     bool   `json:"xmppChat"`
	AdminAccount string `json:"adminAccount"`
}

type SchemaSoftwareJson

type SchemaSoftwareJson struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

type SchemaUsageJson

type SchemaUsageJson struct {
	Users         SchemaUsersJson `json:"users"`
	LocalPosts    int             `json:"localPosts"`
	LocalComments int             `json:"localComments"`
}

type SchemaUsersJson

type SchemaUsersJson struct {
	Total          int `json:"total"`
	ActiveHalfyear int `json:"activeHalfyear"`
	ActiveMonth    int `json:"activeMonth"`
}
type Search struct {
	*revel.Controller
}

func (Search) Create

func (s Search) Create(search string) revel.Result

func (Search) Index

func (s Search) Index(text string) revel.Result

func (Search) IndexPagination

func (s Search) IndexPagination(text string, page uint) revel.Result

type Setting

type Setting struct {
	*revel.Controller
}

func (Setting) Index

func (s Setting) Index() revel.Result

func (Setting) Update

func (s Setting) Update() revel.Result

type SocialRelay

type SocialRelay struct {
	*revel.Controller
}

func (SocialRelay) Index

func (s SocialRelay) Index() revel.Result

type SocialRelaySchema

type SocialRelaySchema struct {
	Subscribe bool     `json:"subscribe"`
	Scope     string   `json:"scope"`
	Tags      []string `json:"tags"`
}

type Stream

type Stream struct {
	*revel.Controller
}

func (Stream) Index

func (s Stream) Index(view string, page uint) revel.Result

func (Stream) IndexStreams

func (s Stream) IndexStreams() revel.Result

type Tag

type Tag struct {
	*revel.Controller
}

func (Tag) Index

func (t Tag) Index(name string) revel.Result

func (Tag) IndexPagination

func (t Tag) IndexPagination(name string, page uint) revel.Result

type User

type User struct {
	*revel.Controller
}

func (User) Create

func (u User) Create() revel.Result

func (User) Index

func (u User) Index() revel.Result

func (User) Login

func (u User) Login() revel.Result

func (User) Logout

func (u User) Logout() revel.Result

type Webfinger

type Webfinger struct {
	*revel.Controller
}

func (Webfinger) HostMeta

func (c Webfinger) HostMeta() revel.Result

func (Webfinger) Webfinger

func (c Webfinger) Webfinger() revel.Result

Jump to

Keyboard shortcuts

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