issue192

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package "issue192" provides primitives to interact with the AsyncAPI specification.

Code generated by github.com/lerenn/asyncapi-codegen version (devel) DO NOT EDIT.

Index

Constants

View Source
const AsyncAPIVersion = ""

AsyncAPIVersion is the version of the used AsyncAPI document

Variables

This section is empty.

Functions

func CheckGeneration

func CheckGeneration()

CheckGeneration is a function to check the generation of the code.

Types

type DistantSchema

type DistantSchema ObjectSchema

DistantSchema is a schema from the AsyncAPI specification required in messages

type Error

type Error struct {
	Channel string
	Err     error
}

Error is the error structure returned by the controller operations.

func (*Error) Error

func (e *Error) Error() string

Error returns a string representation of the error.

type LocalSchema

type LocalSchema ObjectSchema

LocalSchema is a schema from the AsyncAPI specification required in messages

type MessageWithCorrelationID

type MessageWithCorrelationID interface {
	CorrelationID() string
	SetCorrelationID(id string)
}

MessageWithCorrelationID is implemented by messages that carry a correlation ID.

type ObjectSchema

type ObjectSchema struct {
	Data *ObjectSchemaData `json:"data,omitempty"`
}

ObjectSchema is a schema from the AsyncAPI specification required in messages

type ObjectSchemaData

type ObjectSchemaData struct {
	Hello *string `json:"hello,omitempty"`
	World *string `json:"world,omitempty"`
}

ObjectSchemaData is a schema from the AsyncAPI specification required in messages

Jump to

Keyboard shortcuts

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