shared

package
v1.22.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 10 Imported by: 4

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

Jump to

Keyboard shortcuts

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