Documentation ¶
Index ¶
- Variables
- type AboutController
- type AccountController
- type LoginController
- func (l *LoginController) BeforeActivation(b mvc.BeforeActivation)
- func (l *LoginController) BeginRequest(ctx iris.Context)
- func (l *LoginController) EndRequest(ctx iris.Context)
- func (l *LoginController) Get(ctx iris.Context) mvc.Result
- func (l *LoginController) Post(ctx iris.Context) mvc.Result
- func (l *LoginController) PostConfirm(ctx iris.Context) mvc.Result
- type LogoutController
- type OTPController
- func (o *OTPController) BeforeActivation(b mvc.BeforeActivation)
- func (o *OTPController) BeginRequest(ctx iris.Context)
- func (o *OTPController) EndRequest(ctx iris.Context)
- func (o *OTPController) GetLogin(ctx iris.Context) mvc.Result
- func (o *OTPController) GetSettings(ctx iris.Context)
- func (o *OTPController) Post(ctx iris.Context) mvc.Result
- type PublicController
- func (a *PublicController) BeforeActivation(b mvc.BeforeActivation)
- func (a *PublicController) BeginRequest(ctx iris.Context)
- func (a *PublicController) EndRequest(ctx iris.Context)
- func (a *PublicController) Get(ctx iris.Context) mvc.Result
- func (a *PublicController) GetBy(ctx iris.Context, param string) mvc.Result
- type RegistrationController
Constants ¶
This section is empty.
Variables ¶
View Source
var APIAccountSerializer = serializers.ConstructSerializer(func(v interface{}) error { if reflect.TypeOf(v).Name() == typeName { return nil } else { return fmt.Errorf("bad serialize on type %s expecting type %s", reflect.TypeOf(v).Name(), typeName) } }).AddFieldAsString("ID").AddField("Username").AddMethod("Acct", "acct").AddField("DisplayName").AddField("Locked").AddField("CreatedAt").AddField("Note").AddField("URL").AddMethod("Avatar", "avatar").AddMethod("AvatarStatic", "avatar_static").AddMethod("Header", "header").AddMethod("HeaderStatic", "header_static").AddField("FollowersCount").AddField("FollowingCount").AddField("StatusesCount")
Functions ¶
This section is empty.
Types ¶
type AboutController ¶
type AboutController struct{}
func (*AboutController) BeforeActivation ¶
func (a *AboutController) BeforeActivation(b mvc.BeforeActivation)
func (*AboutController) BeginRequest ¶
func (a *AboutController) BeginRequest(ctx iris.Context)
func (*AboutController) EndRequest ¶
func (a *AboutController) EndRequest(ctx iris.Context)
func (*AboutController) Get ¶
func (a *AboutController) Get(ctx iris.Context)
type AccountController ¶
type AccountController struct{}
func (*AccountController) BeforeActivation ¶
func (a *AccountController) BeforeActivation(b mvc.BeforeActivation)
func (*AccountController) BeginRequest ¶
func (a *AccountController) BeginRequest(ctx iris.Context)
func (*AccountController) EndRequest ¶
func (a *AccountController) EndRequest(ctx iris.Context)
type LoginController ¶
type LoginController struct{}
func (*LoginController) BeforeActivation ¶
func (l *LoginController) BeforeActivation(b mvc.BeforeActivation)
func (*LoginController) BeginRequest ¶
func (l *LoginController) BeginRequest(ctx iris.Context)
func (*LoginController) EndRequest ¶
func (l *LoginController) EndRequest(ctx iris.Context)
func (*LoginController) PostConfirm ¶
func (l *LoginController) PostConfirm(ctx iris.Context) mvc.Result
type LogoutController ¶
type LogoutController struct{}
func (*LogoutController) BeforeActivation ¶
func (l *LogoutController) BeforeActivation(b mvc.BeforeActivation)
func (*LogoutController) BeginRequest ¶
func (l *LogoutController) BeginRequest(ctx iris.Context)
func (*LogoutController) EndRequest ¶
func (l *LogoutController) EndRequest(ctx iris.Context)
type OTPController ¶
type OTPController struct{}
func (*OTPController) BeforeActivation ¶
func (o *OTPController) BeforeActivation(b mvc.BeforeActivation)
func (*OTPController) BeginRequest ¶
func (o *OTPController) BeginRequest(ctx iris.Context)
func (*OTPController) EndRequest ¶
func (o *OTPController) EndRequest(ctx iris.Context)
func (*OTPController) GetSettings ¶
func (o *OTPController) GetSettings(ctx iris.Context)
type PublicController ¶
type PublicController struct{}
func (*PublicController) BeforeActivation ¶
func (a *PublicController) BeforeActivation(b mvc.BeforeActivation)
func (*PublicController) BeginRequest ¶
func (a *PublicController) BeginRequest(ctx iris.Context)
func (*PublicController) EndRequest ¶
func (a *PublicController) EndRequest(ctx iris.Context)
type RegistrationController ¶
type RegistrationController struct{}
func (*RegistrationController) BeforeActivation ¶
func (a *RegistrationController) BeforeActivation(b mvc.BeforeActivation)
func (*RegistrationController) BeginRequest ¶
func (a *RegistrationController) BeginRequest(ctx iris.Context)
func (*RegistrationController) EndRequest ¶
func (a *RegistrationController) EndRequest(ctx iris.Context)
Click to show internal directories.
Click to hide internal directories.