Documentation ¶
Index ¶
- func BlockUser(ctx *context.APIContext, blocker *user_model.User)
- func CheckUserBlock(ctx *context.APIContext, blocker *user_model.User)
- func GetRegistrationToken(ctx *context.APIContext, ownerID, repoID int64)
- func ListBlocks(ctx *context.APIContext, blocker *user_model.User)
- func UnblockUser(ctx *context.APIContext, doer, blocker *user_model.User)
- type RegistrationToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockUser ¶
func BlockUser(ctx *context.APIContext, blocker *user_model.User)
func CheckUserBlock ¶
func CheckUserBlock(ctx *context.APIContext, blocker *user_model.User)
func GetRegistrationToken ¶
func GetRegistrationToken(ctx *context.APIContext, ownerID, repoID int64)
func ListBlocks ¶
func ListBlocks(ctx *context.APIContext, blocker *user_model.User)
func UnblockUser ¶
func UnblockUser(ctx *context.APIContext, doer, blocker *user_model.User)
Types ¶
type RegistrationToken ¶
type RegistrationToken struct {
Token string `json:"token"`
}
RegistrationToken is response related to registration token swagger:response RegistrationToken
Click to show internal directories.
Click to hide internal directories.