model

package
v0.0.0-...-dd6da27 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CallRequest

type CallRequest struct {
	URL    string      `json:"url"`
	Method string      `json:"method"`
	Body   interface{} `json:"body"`
}

CallRequest godoc

type ControlSuccess

type ControlSuccess struct {
	Status string `json:"status" example:"success"`
}

ControlSuccess godoc

type Error

type Error struct {
	Error string `json:"error" example:"something went wrong"`
}

Error model

type Health

type Health struct {
	Healthy bool `json:"healthy"`
}

Health model

type Metadata

type Metadata struct {
	IP       string `json:"ip" example:"192.168.1.100"`
	Hostname string `json:"hostname" example:"dobby"`
}

Metadata model

type Ready

type Ready struct {
	Ready bool `json:"ready"`
}

Ready model

type Version

type Version struct {
	Version string `json:"version" example:"1.0.0"`
}

Version model

Jump to

Keyboard shortcuts

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