Documentation
¶
Overview ¶
Deprecated: Considered cruft right now.
HTTP over StreamProto over KCP-Go.
This package has some subtle bugs and resource leaks, and is not considered Stable right now.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(hnd fasthttp.RequestHandler) func(r *streamprotoc.SendMessage, c *streamprotoc.ServerConn)
func NewMessage ¶
func NewMessage() *streamprotoc.SendMessage
Types ¶
type Client ¶
type Client struct {
Inner *streamprotoc.Client
}
type Server ¶
type Server struct {
streamprotoc.Server
}
func NewServer ¶
func NewServer(hnd fasthttp.RequestHandler) *Server
func (*Server) ListenAndServe ¶
func (*Server) ListenAndServeTCP ¶
type WrappedCtx ¶
type WrappedCtx struct {
Ctx fasthttp.RequestCtx
}
type WrappedRequest ¶
Click to show internal directories.
Click to hide internal directories.