messages

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorReply added in v0.8.0

type ErrorReply struct {
	ErrorMsg string `json:"error"`
}

func (*ErrorReply) Error added in v0.8.0

func (r *ErrorReply) Error() string

type NowReply added in v0.8.0

type NowReply struct {
	Now time.Time `json:"now"`
}

type NowRequest added in v0.8.0

type NowRequest struct {
	Time  *time.Time    `json:"time"`
	Drift time.Duration `json:"drift"`
}

type PingReply

type PingReply struct {
	Payload string `json:"payload"`
}

type PingRequest

type PingRequest struct {
	Payload string `json:"payload"`
}

type ReverseReply added in v0.8.0

type ReverseReply struct {
	ReversedString string `json:"reversedString"`
}

type ReverseRequest added in v0.8.0

type ReverseRequest struct {
	String string `json:"string"`
}

Jump to

Keyboard shortcuts

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