model

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: MIT Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	Msg string `json:"msg"`
}

Error holds an error message.

func (Error) Error

func (r Error) Error() string

type ExampleMessage added in v0.8.0

type ExampleMessage struct {
	Hello string `json:"hello"`
}

ExampleMessage is just a simple example message.

type ExampleReceipt added in v0.8.0

type ExampleReceipt struct {
	execrpc.Identity
	Error *Error `json:"err"`
	Text  string `json:"text"`
}

ExampleReceipt is just a simple receipt.

func (ExampleReceipt) Err added in v0.8.0

func (r ExampleReceipt) Err() error

Err is just a simple example error.

type ExampleRequest

type ExampleRequest struct {
	Text string `json:"text"`
}

ExampleRequest is just a simple example request.

Jump to

Keyboard shortcuts

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