api

package
v0.0.0-...-8b0fa83 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Runner

func Runner()

Types

type AuthData

type AuthData struct {
	UserID uint64
	Token  string
}

type Authentication

type Authentication interface {
	Login(username string, password string) (error, AuthData)
}

type AuthenticationDummy

type AuthenticationDummy struct{}

func (AuthenticationDummy) Login

func (AuthenticationDummy) Login(username string, password string) (AuthData, error)

type WebSocketConnection

type WebSocketConnection struct {
	Socket *websocket.Conn
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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