controller

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CenterUserController

type CenterUserController struct {
	User *models.User
}

func (*CenterUserController) BeforeActivation

func (cu *CenterUserController) BeforeActivation(b mvc.BeforeActivation)

func (*CenterUserController) CreateByPubKey

func (cu *CenterUserController) CreateByPubKey(ctx iris.Context) *appWeb.ResponseFormat

func (*CenterUserController) GetInfo

func (*CenterUserController) ReleaseTw

func (*CenterUserController) UpdateInfo

func (cu *CenterUserController) UpdateInfo(ctx iris.Context) *appWeb.ResponseFormat

type FollowController

type FollowController struct {
	User *models.User
}

func (*FollowController) BeforeActivation

func (fc *FollowController) BeforeActivation(b mvc.BeforeActivation)

func (*FollowController) GetBy

func (*FollowController) GetStateBy

func (fc *FollowController) GetStateBy(id string, ctx iris.Context) *appWeb.ResponseFormat

func (*FollowController) Post

func (*FollowController) PostCancel

func (fc *FollowController) PostCancel(ctx iris.Context) *appWeb.ResponseFormat

type KeyController

type KeyController struct {
	User *models.User
}

func (*KeyController) BeforeActivation

func (k *KeyController) BeforeActivation(b mvc.BeforeActivation)

func (*KeyController) PostExport

func (k *KeyController) PostExport(ctx iris.Context) *appWeb.ResponseFormat

导出私钥

func (*KeyController) PostGen

func (k *KeyController) PostGen(ctx iris.Context) *appWeb.ResponseFormat

创建key

func (*KeyController) PostImport

func (k *KeyController) PostImport(ctx iris.Context) *appWeb.ResponseFormat

导入私钥

func (*KeyController) PostList

func (k *KeyController) PostList() *appWeb.ResponseFormat

列出key

func (*KeyController) PostRename

func (k *KeyController) PostRename(ctx iris.Context) *appWeb.ResponseFormat

type SiteController

type SiteController struct {
}

func (*SiteController) BeforeActivation

func (s *SiteController) BeforeActivation(b mvc.BeforeActivation)

func (*SiteController) GetBootstrap

func (s *SiteController) GetBootstrap(ctx iris.Context) *appWeb.ResponseFormat

func (*SiteController) GetVersion

func (s *SiteController) GetVersion(ctx iris.Context) *appWeb.ResponseFormat

func (*SiteController) PostUpload

func (s *SiteController) PostUpload(ctx iris.Context) string

type TweetsController

type TweetsController struct {
	User *models.User
}

func (*TweetsController) BeforeActivation

func (twc *TweetsController) BeforeActivation(b mvc.BeforeActivation)

func (*TweetsController) GetAt_me

func (twc *TweetsController) GetAt_me(ctx iris.Context) *appWeb.ResponseFormat

func (*TweetsController) GetBy

func (*TweetsController) GetExplore

func (twc *TweetsController) GetExplore(ctx iris.Context) *appWeb.ResponseFormat

func (*TweetsController) GetFollow

func (twc *TweetsController) GetFollow(ctx iris.Context) *appWeb.ResponseFormat

func (*TweetsController) GetUserForward

func (twc *TweetsController) GetUserForward(ctx iris.Context) *appWeb.ResponseFormat

我的转发

func (*TweetsController) GetUserTimeline

func (twc *TweetsController) GetUserTimeline(ctx iris.Context) *appWeb.ResponseFormat

func (*TweetsController) GetUserTimelineBy

func (twc *TweetsController) GetUserTimelineBy(id string, ctx iris.Context) *appWeb.ResponseFormat

func (*TweetsController) PostRelease

func (twc *TweetsController) PostRelease(ctx iris.Context) *appWeb.ResponseFormat

func (*TweetsController) PostReleaseBySign

func (twc *TweetsController) PostReleaseBySign(ctx iris.Context) *appWeb.ResponseFormat

广播签名后的推文

type UserController

type UserController struct {
	User *models.User
}

func (*UserController) BeforeActivation

func (uc *UserController) BeforeActivation(b mvc.BeforeActivation)

func (*UserController) GetBy

func (uc *UserController) GetBy(id string, ctx iris.Context) *appWeb.ResponseFormat

func (*UserController) GetNonceBy

func (uc *UserController) GetNonceBy(id string, ctx iris.Context) *appWeb.ResponseFormat

func (*UserController) GetProfile

func (uc *UserController) GetProfile(ctx iris.Context) *appWeb.ResponseFormat

func (*UserController) PostProfile

func (uc *UserController) PostProfile(ctx iris.Context) *appWeb.ResponseFormat

Jump to

Keyboard shortcuts

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