shared

package
v1.22.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 registeration token swagger:response RegistrationToken

Jump to

Keyboard shortcuts

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