server

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(ip, port, key string)

Types

type ClientInfo

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

func (*ClientInfo) SetDeadline

func (c *ClientInfo) SetDeadline(t time.Time)

type ServerContext

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

func (*ServerContext) JoinTaskRoom

func (s *ServerContext) JoinTaskRoom(id string, c *ClientInfo)

func (*ServerContext) NewTaskRoom

func (s *ServerContext) NewTaskRoom() string

Jump to

Keyboard shortcuts

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