package connections
import "github.com/plgd-dev/go-coap/v3/pkg/connections"
Index ¶
Types ¶
type Connection ¶
type Connection interface { Context() context.Context CheckExpirations(now time.Time) Close() error RemoteAddr() net.Addr }
type Connections ¶
type Connections struct {
// contains filtered or unexported fields
}
func New ¶
func New() *Connections
func (*Connections) CheckExpirations ¶
func (c *Connections) CheckExpirations(now time.Time)
func (*Connections) Close ¶
func (c *Connections) Close()
func (*Connections) Delete ¶
func (c *Connections) Delete(conn Connection)
func (*Connections) Store ¶
func (c *Connections) Store(conn Connection)
Source Files ¶
- Version
- v3.3.6 (latest)
- Published
- Sep 18, 2024
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 1 week ago –
Tools for package owners.