natsproxy

package
v0.0.0-...-9c0d32c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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) Close

func (c *Conn) Close() error

Close implements net.Conn.

func (*Conn) LocalAddr

func (c *Conn) LocalAddr() net.Addr

LocalAddr implements net.Conn.

func (*Conn) Read

func (c *Conn) Read(b []byte) (int, error)

Read implements net.Conn.

func (*Conn) RemoteAddr

func (c *Conn) RemoteAddr() net.Addr

RemoteAddr implements net.Conn.

func (*Conn) SetDeadline

func (c *Conn) SetDeadline(t time.Time) error

SetDeadline implements net.Conn.

func (*Conn) SetReadDeadline

func (c *Conn) SetReadDeadline(t time.Time) error

SetReadDeadline implements net.Conn.

func (*Conn) SetWriteDeadline

func (c *Conn) SetWriteDeadline(t time.Time) error

SetWriteDeadline implements net.Conn.

func (*Conn) Start

func (c *Conn) Start() error

func (*Conn) Write

func (c *Conn) Write(b []byte) (int, error)

Write implements net.Conn.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL