package
0.0.4
Repository: https://github.com/anson-xcloud/xdp-demo.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
HandleFunc call defaultServeMux.HandleFunc.
No description provided by the author
NewServeMux create *ServeMux.
NewServer create server.
No description provided by the author
ParseAddress parse address string to *Address.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithConfig set config.
WithConfigFile set config by file path, any read error will panic.
WithHandler set handler if dont set, default use *ServeMux.
WithLogger set logger if dont set, default use *fmtLogger.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrAddressFormat address format invalid, must be appid:appsecret.
No description provided by the author
No description provided by the author
ErrTimeout call timeout.
ErrTwiceWriteHTTPResponse twice write http response do not allowed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AccessPoint xcloud return access_point info.
Address for app address token format is appid:appsecret.
HandlerRemote handle remote condition note: Anonymous donot have HandlerRemoteTypeServer.
No description provided by the author
Options server all options.
No description provided by the author
ServeMux is an XDP request multiplexer.
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
Option server option.
No description provided by the author
No description provided by the author