controllers

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorCode

func ErrorCode(err error) int

ErrorCode TODO

Types

type ExQueueController

type ExQueueController struct {
	// contains filtered or unexported fields
}

ExQueueController TODO

func NewExQueueController

func NewExQueueController(e *exqueue.ExQueue) *ExQueueController

NewExQueueController TODO

func (*ExQueueController) Extract

func (ctrl *ExQueueController) Extract(c *gin.Context) (res sth.Result, err error)

Extract TODO

func (ctrl *ExQueueController) ExtractLinks(c *gin.Context) (res sth.Result, err error)

ExtractLinks TODO

type InvalidBody

type InvalidBody string

InvalidBody TODO

func (InvalidBody) Error

func (e InvalidBody) Error() string

Jump to

Keyboard shortcuts

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