types

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package types provides shared types and structs.

Index

Constants

View Source
const (
	// ExtendedPathPrefix is the path prefix that will be used for the extended endpoints.
	ExtendedPathPrefix types.EndpointPrefix = "1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtendedType

type ExtendedType struct {
	Sender  types.AddrPort `json:"sender" yaml:"sender"`
	Message string         `json:"message" yaml:"message"`
}

ExtendedType is an example of an API type usable by MicroCluster but defined by this example project.

Jump to

Keyboard shortcuts

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