dynamic

package
v0.0.0-...-35d01cd Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Latest

func Latest(c *engine.Context) (interface{}, error)

Latest godoc @Summary 获取up主最新动态 @Description @Tags web @Produce json @Security ApiKeyAuth @Param bot_id query string true "BotID" @Param mid query string true "up主ID" @Router /web/dynamic/latest [get]

func Listen

func Listen(c *engine.Context) (interface{}, error)

Listen godoc @Summary 监听up主动态 @Description 根据设定的时间间隔监听up主动态 @Tags web @Produce json @Security ApiKeyAuth @Param bot_id query string true "BotID" @Param mid query string true "up主ID" @Param interval query string true "监听时间间隔(s)" @Router /web/dynamic/listen [get]

func Status

func Status(c *engine.Context) (interface{}, error)

Status godoc @Summary 获取传入的uid的状态 @Description @Tags web @Produce json @Security ApiKeyAuth @Param bot_id query string true "BotID" @Param mid query string true "up主ID" @Router /web/dynamic/status [get]

func Stop

func Stop(c *engine.Context) (r interface{}, err error)

Stop godoc @Summary 停止传入的uid的任务 @Description @Tags web @Produce json @Security ApiKeyAuth @Param bot_id query string true "BotID" @Param mid query string true "up主ID" @Router /web/dynamic/stop [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

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