protocol

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

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

Go to latest
Published: Dec 24, 2022 License: MIT Imports: 10 Imported by: 0

README

程序协议Server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTP

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

HTTP 服务对象

func NewHTTP

func NewHTTP() *HTTP

HTTP 服务, 需要有简单的地址和端口, 冲全局配置种获取Server监听参数

func (*HTTP) Start

func (h *HTTP) Start() error

func (*HTTP) Stop

func (h *HTTP) Stop(ctx context.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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