handler

package
v0.0.0-...-12e9062 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2020 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewChannel

func AddNewChannel(w http.ResponseWriter, r *http.Request)

AddNewChannel ...

func ConnectToChannel

func ConnectToChannel(w http.ResponseWriter, r *http.Request)

func GetChannels

func GetChannels(w http.ResponseWriter, r *http.Request)

GetChannels return all users channels

func Login

func Login(w http.ResponseWriter, r *http.Request)

Login ...

func Register

func Register(w http.ResponseWriter, r *http.Request)

Register is the resigter handler

func ValidateToken

func ValidateToken(bearerToken string) (*jwt.Token, error)

ValidateToken validates the token with the secret key and return the object

Types

This section is empty.

Jump to

Keyboard shortcuts

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