Documentation
¶
Index ¶
- func NewClientConnection(conn net.Conn) (*replicant.Connection, error)
- func NewReplicantClientConnectionState() (*replicant.ConnectionState, error)
- func NewReplicantServerConnectionState(polishServer polish.Server, conn net.Conn) (*replicant.ConnectionState, error)
- func NewServerConnection(conn net.Conn) (*replicant.Connection, error)
- type ClientConfig
- type ServerConfig
- type Transport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientConnection ¶
func NewClientConnection(conn net.Conn) (*replicant.Connection, error)
func NewReplicantClientConnectionState ¶
func NewReplicantClientConnectionState() (*replicant.ConnectionState, error)
func NewServerConnection ¶
func NewServerConnection(conn net.Conn) (*replicant.Connection, error)
Types ¶
type ClientConfig ¶ added in v2.2.13
type ClientConfig struct {
Address string `json:"serverAddress"`
}
type ServerConfig ¶ added in v2.2.13
type ServerConfig struct { }
Click to show internal directories.
Click to hide internal directories.