kitty

package module
v2.0.1-0...-eaef3dc Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 11 Imported by: 0

README

Kitty


what is it?

Kitty is a lightweight networking library, support http, tcp, udp.

How to use?

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHttpClient

func NewHttpClient() *httpClient.Client

func NewHttpClientProgress

func NewHttpClientProgress() *httpClient.Progress

func NewHttpServer

func NewHttpServer(addr string) *httpServer.Server

func NewHttpServerRouter

func NewHttpServerRouter() *router.Router[*http.Stream]

func NewHttpServerStaticRouter

func NewHttpServerStaticRouter() *httpServer.StaticRouter

func NewTcpClient

func NewTcpClient(addr string) *tcpClient.Client

func NewTcpClientRouter

func NewTcpClientRouter() *router.Router[*socket.Stream[tcpClient.Conn]]

func NewTcpServer

func NewTcpServer(addr string) *tcpServer.Server

func NewTcpServerRouter

func NewTcpServerRouter() *router.Router[*socket.Stream[tcpServer.Conn]]

func NewUdpClient

func NewUdpClient(addr string) *udpClient.Client

func NewUdpClientRouter

func NewUdpClientRouter() *router.Router[*socket.Stream[udpClient.Conn]]

func NewUdpServer

func NewUdpServer(addr string) *udpServer.Server

func NewUdpServerRouter

func NewUdpServerRouter() *router.Router[*socket.Stream[udpServer.Conn]]

func NewWebSocketClient

func NewWebSocketClient(addr string) *webSocketClient.Client

func NewWebSocketClientRouter

func NewWebSocketClientRouter() *router.Router[*socket.Stream[webSocketClient.Conn]]

func NewWebSocketServer

func NewWebSocketServer(addr string) *webSocketServer.Server

func NewWebSocketServerRouter

func NewWebSocketServerRouter() *router.Router[*socket.Stream[webSocketServer.Conn]]

Types

This section is empty.

Directories

Path Synopsis
example
async/client command
async/server command
custom_protocol command
http command
tcp command
udp command
websocket command
tcp
udp

Jump to

Keyboard shortcuts

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