polling

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPollingCodeReq added in v0.4.0

func CheckPollingCodeReq(
	rlog log.Ext1FieldLogger, req response.PollingCodeRequest, networkData api.ClientMetaData, forSSH bool,
) (mt *mytoken.Mytoken, token string, pollingCodeStatus transfercoderepo.TransferCodeStatus, errRes *model.Response)

CheckPollingCodeReq checks a pkg.PollingCodeRequest and returns the linked mytoken if valid

func HandlePollingCode

func HandlePollingCode(ctx *fiber.Ctx) error

HandlePollingCode handles a request on the polling endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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