mpserver

package
v0.0.0-...-3faa710 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: BSD-3-Clause Imports: 23 Imported by: 0

Documentation

Overview

Package mpserver app_basic User: 姜伟 Time: 2020-02-19 06:32:32

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp() *appBasic

NewApp NewApp

func NewDemo

func NewDemo(addr string, app http.Handler) *serverDemo

NewDemo NewDemo

func NewListener

func NewListener(addr string) *serverListener

NewListener NewListener

func NewListenerTCP

func NewListenerTCP(addr string) *listenerTCP

NewListenerTCP NewListenerTCP

func NewServerWebSocket

func NewServerWebSocket() *serverWebSocket

NewServerWebSocket NewServerWebSocket

Types

type HandlerFunc

type HandlerFunc func(messageType int, messageData map[string]interface{}) (bool, *mpresponse.ResultAPI)

HandlerFunc HandlerFunc

type IServerWebSocket

type IServerWebSocket interface {
	Handler() context.Handler
}

IServerWebSocket IServerWebSocket

Jump to

Keyboard shortcuts

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