Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client receives and sends requested messages from/to servers.
type ClientConfig ¶
type ClientConfig struct {
Servers []string
MaxMessageSize uint64
Requests []RequestConfig
}
ClientConfig is the config of client.
type RequestConfig ¶
type RequestConfig struct {
Marshaller proton.Marshaller
Messages []any
}
RequestConfig defines message types to receive on client.
type ServerConfig ¶
ServerConfig defines server configuration.
Click to show internal directories.
Click to hide internal directories.