polling

package
v0.6.1-b Latest Latest
Warning

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

Go to latest
Published: Nov 4, 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