handler

package
v0.0.0-...-262ee3b Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Conn net.Conn
	Wg   sync.WaitGroup
}

func NewClient

func NewClient(con net.Conn) *Client

func (*Client) Close

func (c *Client) Close()

给还在传输数据的连接一些时间处理

type RedisServer

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

func NewHandler

func NewHandler() *RedisServer

func (*RedisServer) Close

func (handler *RedisServer) Close()

func (*RedisServer) Handle

func (handler *RedisServer) Handle(conn net.Conn)

Jump to

Keyboard shortcuts

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