Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoRequest ¶
type EchoRequest struct {
Message string `json:"message"`
}
EchoRequest is used to ping the Rusk server.
func (*EchoRequest) Copy ¶
func (e *EchoRequest) Copy() *EchoRequest
Copy complies with message.Safe interface. It returns a deep copy of the message safe to publish to multiple subscribers.
type EchoResponse ¶
type EchoResponse struct {
Message string `json:"message"`
}
EchoResponse is what the Rusk server sends back after an `EchoRequest`.
func (*EchoResponse) Copy ¶
func (e *EchoResponse) Copy() *EchoResponse
Copy complies with message.Safe interface. It returns a deep copy of the message safe to publish to multiple subscribers.
Click to show internal directories.
Click to hide internal directories.