Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Broadcast ¶
func NewBroadcast ¶
func (*Broadcast[T]) Unsubscribe ¶
func (b *Broadcast[T]) Unsubscribe(ch <-chan T)
type MuxClientConn ¶
func NewMuxClientConn ¶
func NewMuxClientConn(conn net.Conn) *MuxClientConn
type MuxCommand ¶
type MuxCommand struct { Database string `cli:"required,short=d,env=PGT_DATABASE,help=database connection string"` ListenAddr string `cli:"required,short=l"` }
func NewMuxCommand ¶
func NewMuxCommand() *MuxCommand
func (*MuxCommand) SetupCommand ¶
func (*MuxCommand) SetupCommand(cmd *cli.Command)
type MuxServerConn ¶
type MuxServerConn struct { sync.Mutex *pgconn.HijackedConn *pgproto3.Frontend // contains filtered or unexported fields }
func NewMuxServerConn ¶
func NewMuxServerConn(conn *pgconn.HijackedConn) *MuxServerConn
Click to show internal directories.
Click to hide internal directories.