gosocket

package module
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 7 Imported by: 0

README

gosocket

a go socket server

Build Status Coverage Status codecov

versions

  • v0.2.1 -> v0.3.0 warning change server.Handler parameters

warning

some code not complete, so , this package doesn't work yet

todo list

  • 重新设计调度器
  • 增加对长时间无交互的连接做超时断开
  • 增加对连接总数的限制

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBufferPool

func NewBufferPool() buffers.Buffers

func NewClient

func NewClient(opts ...client.Option) client.Client

func NewConn

func NewConn(cc net.Conn) conn.Conn

func NewServer

func NewServer(handler server.Handler, opts ...server.Option) server.Server

Types

This section is empty.

Directories

Path Synopsis
handlers

Jump to

Keyboard shortcuts

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