server

package
v0.0.0-...-6c16969 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: GPL-3.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DIR = "DIR"
	PWD = "PWD"
	CD  = "CD"
)
View Source
const BOM = '\ufffe'

Variables

This section is empty.

Functions

func ChatServer

func ChatServer()

func ClockServer

func ClockServer()

func DaytimeAsn1Server

func DaytimeAsn1Server()

func DaytimeTcpServer

func DaytimeTcpServer()

func DaytimeUdpServer

func DaytimeUdpServer()

func EchoServer

func EchoServer()

func FileServer

func FileServer()

func FtpServer

func FtpServer()

func GobServer

func GobServer()

func HttpRpcServer

func HttpRpcServer()

func JsonRpcServer

func JsonRpcServer()

func JsonServer

func JsonServer()

func MultithreadServer

func MultithreadServer()

func ReceivePerson

func ReceivePerson(ws *websocket.Conn)

func ReceivePersonXml

func ReceivePersonXml(ws *websocket.Conn)

func RestServer

func RestServer()

func TcpRpcServer

func TcpRpcServer()

func TlsServer

func TlsServer()

func Utf16Server

func Utf16Server()

func WebServer

func WebServer()

func WebSocketJsonServer

func WebSocketJsonServer()

func WebSocketServer

func WebSocketServer()

func WebSocketXmlServer

func WebSocketXmlServer()

Types

type Args

type Args struct {
	A, B int
}

type Arith

type Arith int

func (*Arith) Divide

func (a *Arith) Divide(args *Args, quo *Quotient) error

func (*Arith) Multiply

func (a *Arith) Multiply(args *Args, reply *int) error

type Person

type Person struct {
	Name   string
	Emails []string
}

type Quotient

type Quotient struct {
	Quo, Rem int
}

Jump to

Keyboard shortcuts

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