client

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a simple client for spop protocol, this should only be used for testing purpose

func NewClient

func NewClient(conn net.Conn) Client

NewClient create a new Client for an established connection

func (*Client) Init

func (c *Client) Init() error

Init initialize the client by sending the HaproxyHello frame

func (*Client) Notify

func (c *Client) Notify() error

Notify send an empty Notify frame

func (*Client) Stop

func (c *Client) Stop() error

Stop the client by sending HaproxyDisconnect frame

Jump to

Keyboard shortcuts

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