Documentation ¶
Index ¶
- type AccountHandler
- func (a *AccountHandler) AcceptFollower(c echo.Context) error
- func (a *AccountHandler) DeleteQueue(c echo.Context) error
- func (a *AccountHandler) FollowAccount(c echo.Context) error
- func (a *AccountHandler) GetAccount(c echo.Context) error
- func (a *AccountHandler) GetAllQueue(c echo.Context) error
- func (a *AccountHandler) ListAccount(c echo.Context) error
- func (a *AccountHandler) Router(e *echo.Group)
- func (a *AccountHandler) UnfollowAccount(c echo.Context) error
- func (a *AccountHandler) UpdateAccountStatus(c echo.Context) error
- type GetAccountParams
- type GetAccountsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountHandler ¶
type AccountHandler struct {
// contains filtered or unexported fields
}
func NewAccountHandler ¶
func NewAccountHandler(account account.AccountContract, helper handler.Helper, router *echo.Echo, token token.Maker) *AccountHandler
func (*AccountHandler) AcceptFollower ¶
func (a *AccountHandler) AcceptFollower(c echo.Context) error
func (*AccountHandler) DeleteQueue ¶
func (a *AccountHandler) DeleteQueue(c echo.Context) error
func (*AccountHandler) FollowAccount ¶
func (a *AccountHandler) FollowAccount(c echo.Context) error
func (*AccountHandler) GetAccount ¶
func (a *AccountHandler) GetAccount(c echo.Context) error
func (*AccountHandler) GetAllQueue ¶
func (a *AccountHandler) GetAllQueue(c echo.Context) error
func (*AccountHandler) ListAccount ¶
func (a *AccountHandler) ListAccount(c echo.Context) error
func (*AccountHandler) Router ¶
func (a *AccountHandler) Router(e *echo.Group)
func (*AccountHandler) UnfollowAccount ¶
func (a *AccountHandler) UnfollowAccount(c echo.Context) error
func (*AccountHandler) UpdateAccountStatus ¶
func (a *AccountHandler) UpdateAccountStatus(c echo.Context) error
type GetAccountParams ¶
type GetAccountParams struct {
ToAccountID int64 `json:"to_account_id" form:"to_account_id" query:"to_account_id" validate:"required,min=1"`
}
type GetAccountsParams ¶
Click to show internal directories.
Click to hide internal directories.