channel

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddInfo

func AddInfo(info msg.ChannelInfo)

AddInfo adds info to map

func CreateInfo

func CreateInfo(c *gin.Context) (msg.ChannelInfo, error)

CreateInfo creates the info object from context

func DeleteInfo

func DeleteInfo(info msg.ChannelInfo)

DeleteInfo deletes info from map

func GET

func GET(c *gin.Context)

GET handles get requests

func List

func List() []string

List returns a list of channels

func ListGET

func ListGET(c *gin.Context)

ListGET responds with a list of channels

func Validate

func Validate(c *gin.Context)

Validate validates if url's channel is good

Types

This section is empty.

Jump to

Keyboard shortcuts

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