Documentation
¶
Overview ¶
Package net includes networking support.
Index ¶
- Constants
- Variables
- func MakeRequest(req *http.Request) (inst *flavors.Instance)
- func MakeResponse(resp *http.Response) (inst *flavors.Instance)
- func MakeResponseWriter(rw http.ResponseWriter) (inst *flavors.Instance)
- func Select(r, w, e *FdSet, timeout time.Duration) error
- type AddressToString
- type FdSet
- type GetHostByAddress
- type GetHostByName
- type GraphqlQuery
- type MakeInet6Address
- type MakeInetAddress
- type MakeSocket
- type ParseAddress
- type SocketAccept
- type SocketAddress
- type SocketBind
- type SocketClose
- type SocketConnect
- type SocketListen
- type SocketMakeStream
- type SocketName
- type SocketOpenp
- type SocketOption
- type SocketP
- type SocketPair
- type SocketPeerAddress
- type SocketPeerName
- type SocketPeerPort
- type SocketPort
- type SocketReceive
- type SocketSelect
- type SocketSend
- type SocketShutdown
- type SocketState
- type SocketStream
- type SockoptBroadcast
- type SockoptDebug
- type SockoptKeepAlive
- type SockoptOobInline
- type SockoptReuseAddress
- type SockoptTcpNodelay
- type WaitForInput
Constants ¶
const NameServiceErrorSymbol = slip.Symbol("name-service-error")
NameServiceErrorSymbol is the symbol with a value of "NameServiceError".
Variables ¶
var ( // Pkg is the net package. Pkg = slip.Package{ Name: "net", Nicknames: []string{"networking", "network"}, Doc: `Home of symbols defined for the net (networking) package. This includes socket classes and functions modeled after the SBCL networking package. Some additional functions are included and key arguments to some functions such as socket-send differ but most functions are the same. `, PreSet: slip.DefaultPreSet, } )
Functions ¶
func MakeRequest ¶
MakeRequest makes a new request.
func MakeResponse ¶
MakeResponse makes a new response.
func MakeResponseWriter ¶
func MakeResponseWriter(rw http.ResponseWriter) (inst *flavors.Instance)
MakeResponseWriter makes a new response-writer.
Types ¶
type AddressToString ¶ added in v0.9.5
AddressToString represents the address-to-string function.
type GetHostByAddress ¶ added in v0.9.5
GetHostByAddress represents the get-host-by-address function.
type GetHostByName ¶ added in v0.9.5
GetHostByName represents the get-host-by-name function.
type GraphqlQuery ¶ added in v1.3.1
GraphqlQuery represents the graphql-query function.
type MakeInet6Address ¶ added in v0.9.5
MakeInet6Address represents the make-inet6-address function.
type MakeInetAddress ¶ added in v0.9.5
MakeInetAddress represents the make-inet-address function.
type MakeSocket ¶ added in v0.9.5
MakeSocket represents the make-socket function.
type ParseAddress ¶ added in v0.9.5
ParseAddress represents the parse-address function.
type SocketAccept ¶ added in v0.9.5
SocketAccept represents the socket-accept function.
type SocketAddress ¶ added in v0.9.5
SocketAddress represents the socket-address function.
type SocketBind ¶ added in v0.9.5
SocketBind represents the socket-bind function.
type SocketClose ¶ added in v0.9.5
SocketClose represents the socket-close function.
type SocketConnect ¶ added in v0.9.5
SocketConnect represents the socket-connect function.
type SocketListen ¶ added in v0.9.5
SocketListen represents the socket-listen function.
type SocketMakeStream ¶ added in v0.9.5
SocketMakeStream represents the socket-make-stream function.
type SocketName ¶ added in v0.9.5
SocketName represents the socket-name function.
type SocketOpenp ¶ added in v0.9.5
SocketOpenp represents the socket-open-p function.
type SocketOption ¶ added in v0.9.5
SocketOption represents the socket-option function.
type SocketPair ¶ added in v0.9.5
SocketPair represents the socket-pair function.
type SocketPeerAddress ¶ added in v0.9.5
SocketPeerAddress represents the socket-peer-address function.
type SocketPeerName ¶ added in v0.9.5
SocketName represents the socket-peername function.
type SocketPeerPort ¶ added in v0.9.5
SocketPeerPort represents the socket-peer-port function.
type SocketPort ¶ added in v0.9.5
SocketPort represents the socket-port function.
type SocketReceive ¶ added in v0.9.5
SocketReceive represents the socket-receive function.
type SocketSelect ¶ added in v0.9.5
SocketSelect represents the socket-select function.
type SocketSend ¶ added in v0.9.5
SocketSend represents the socket-send function.
type SocketShutdown ¶ added in v0.9.5
SocketShutdown represents the socket-shutdown function.
type SocketState ¶ added in v0.9.5
SocketState represents the socket-state function.
type SocketStream ¶ added in v0.9.5
SocketStream represents the socket-stream function.
type SockoptBroadcast ¶ added in v0.9.5
SockoptBroadcast represents the sockopt-broadcast function.
type SockoptDebug ¶ added in v0.9.5
SockoptDebug represents the sockopt-debug function.
type SockoptKeepAlive ¶ added in v0.9.5
SockoptKeepAlive represents the sockopt-keep-alive function.
type SockoptOobInline ¶ added in v0.9.5
SockoptOobInline represents the sockopt-oob-inline function.
type SockoptReuseAddress ¶ added in v0.9.5
SockoptReuseAddress represents the sockopt-reuse-address function.
type SockoptTcpNodelay ¶ added in v0.9.5
SockoptTcpNodelay represents the sockopt-tcp-nodelay function.
type WaitForInput ¶ added in v0.9.5
WaitForInput represents the wait-for-input function.
Source Files
¶
- address-to-string.go
- bodywrap.go
- client.go
- doc.go
- fdrw.go
- get-host-by-address.go
- get-host-by-name.go
- graphql-query.go
- helpers.go
- host-ent.go
- linux.go
- make-inet-address.go
- make-inet6-address.go
- make-socket.go
- name-service-error.go
- parse-address.go
- pkg.go
- request.go
- response-writer.go
- response.go
- server.go
- socket-accept.go
- socket-address.go
- socket-bind.go
- socket-close.go
- socket-connect.go
- socket-listen.go
- socket-make-stream.go
- socket-name.go
- socket-open-p.go
- socket-option.go
- socket-p.go
- socket-pair.go
- socket-peer-address.go
- socket-peer-name.go
- socket-peer-port.go
- socket-port.go
- socket-receive.go
- socket-select.go
- socket-send.go
- socket-shutdown.go
- socket-state.go
- socket-stream.go
- socket.go
- sockopt-broadcast.go
- sockopt-debug.go
- sockopt-keep-alive.go
- sockopt-oob-inline.go
- sockopt-reuse-address.go
- sockopt-tcp-nodelay.go
- wait-for-input.go