server

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Login added in v1.2.0

type Login struct {
	Email string `form:"email" json:"email" xml:"email"  binding:"required,email"`
	Code  string `form:"code" json:"code" xml:"password" binding:"omitempty,numeric,len=6"`
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(log *logrus.Logger) *Server

func (*Server) Run

func (s *Server) Run()

type Wall added in v1.2.10

type Wall struct {
	// contains filtered or unexported fields
}

Clipboards on the wall

func NewWall added in v1.2.10

func NewWall(log *logrus.Logger) *Wall

func (*Wall) Del added in v1.2.10

func (w *Wall) Del(key string)

func (*Wall) Get added in v1.2.10

func (w *Wall) Get(key string) *gcopy.Clipboard

func (*Wall) Housekeeping added in v1.2.10

func (w *Wall) Housekeeping() func()

func (*Wall) Set added in v1.2.10

func (w *Wall) Set(key string, cb *gcopy.Clipboard)

Jump to

Keyboard shortcuts

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