Documentation ¶
Overview ¶
plex - User-space UDP broker to replace IP multicasts Copyright (C) 2020 Hexawolf <hexawolf@hexanet.dev> See LICENSE file for more info
Index ¶
- Constants
- type Plex
- func (mp *Plex) Close() (err error)
- func (mp *Plex) Exists(name string) (sub bool, pub bool)
- func (mp *Plex) ListenUDP(laddr string) (err error)
- func (mp *Plex) Subscribe(name string, sub io.WriteCloser, pub io.ReadCloser)
- func (mp *Plex) SubscribeUDP(_raddr string) (err error)
- func (mp *Plex) Unsubscribe(name string)
Constants ¶
View Source
const UDP = "udp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plex ¶
type Plex struct {
// contains filtered or unexported fields
}
func NewPlex ¶
NewPlex creates a new UDP multicast instance, binding a listener to supplied local address (_laddr) and allocating buffer with given size (_bsize).
func (*Plex) Subscribe ¶
func (mp *Plex) Subscribe(name string, sub io.WriteCloser, pub io.ReadCloser)
func (*Plex) SubscribeUDP ¶
func (*Plex) Unsubscribe ¶
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
plexctl
plexctl - edits routes in plexd config Copyright (C) 2020 Hexawolf <hexawolf@hexanet.dev> See LICENSE file for more info
|
plexctl - edits routes in plexd config Copyright (C) 2020 Hexawolf <hexawolf@hexanet.dev> See LICENSE file for more info |
plexd
plexd - broker daemon.
|
plexd - broker daemon. |
Click to show internal directories.
Click to hide internal directories.