Documentation ¶
Index ¶
- Constants
- Variables
- type Conn
- func (c *Conn) Close() error
- func (c *Conn) LocalAddr() net.Addr
- func (c *Conn) Read(b []byte) (int, error)
- func (c *Conn) RemoteAddr() net.Addr
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) Start() error
- func (c *Conn) Write(b []byte) (int, error)
Constants ¶
View Source
const (
HeaderFin = "Hz-Connection-Fin"
)
Variables ¶
View Source
var ( StatusOK []byte = []uint8{0} StatusError []byte = []uint8{1} )
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct { Conn *nats.Conn Subject string // contains filtered or unexported fields }
func (*Conn) SetDeadline ¶
SetDeadline implements net.Conn.
func (*Conn) SetReadDeadline ¶
SetReadDeadline implements net.Conn.
func (*Conn) SetWriteDeadline ¶
SetWriteDeadline implements net.Conn.
Click to show internal directories.
Click to hide internal directories.