package tcp
import "github.com/plgd-dev/go-coap/v3/tcp"
Index ¶
- func Client(conn net.Conn, opts ...Option) *client.Conn
- func Dial(target string, opts ...Option) (*client.Conn, error)
- func NewServer(opt ...server.Option) *server.Server
- type Option
Functions ¶
func Client ¶
Client creates client over tcp/tcp-tls connection.
func Dial ¶
Dial creates a client connection to the given target.
func NewServer ¶
Types ¶
type Option ¶
A Option sets options such as credentials, keepalive parameters, etc.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
tcp/client | |
tcp/coder | |
tcp/server |
- Version
- v3.3.6 (latest)
- Published
- Sep 18, 2024
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 1 week ago –
Tools for package owners.