handlers

package
v0.0.0-...-99f7857 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	Cfg *config.Config
}

Handlers holds all the handlers used for fiber HTTP

func (*Handlers) Coins

func (h *Handlers) Coins(c *fiber.Ctx) error

Coins returns the coins of a pub key

func (*Handlers) Register

func (h *Handlers) Register(ctx *fiber.Ctx) error

Register handles the registration of a user

func (*Handlers) ResolveNickName

func (h *Handlers) ResolveNickName(ctx *fiber.Ctx) error

ResolveNickName returns the public key for a given nickname

func (*Handlers) Signaling

func (h *Handlers) Signaling(c *websocket.Conn)

Signaling handles all the webrtc signaling and real-time comms

Jump to

Keyboard shortcuts

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