web

package
v0.0.0-...-77b2632 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Sess erpc.Session

Functions

func BasicAuthenticate

func BasicAuthenticate(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)

func GetAuth

func GetAuth() string

func GetHeartbeat

func GetHeartbeat() int

func GetHost

func GetHost() string

func GetUUID

func GetUUID() string

func NewAuthPlugin

func NewAuthPlugin() erpc.Plugin

func NewClientsService

func NewClientsService() *restful.WebService

Types

type ClientPutParams

type ClientPutParams struct {
	Name   string
	Locked *bool
	Online *bool
}

type Config

type Config struct {
	UUID      string
	HeartBeat int
	Auth      string
	Host      string
}

Jump to

Keyboard shortcuts

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