issue185

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 "issue185" 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 just to test that the generation is correct.

Types

type BaseEventInfoSchema

type BaseEventInfoSchema struct {
	Data ContentDataSchema `json:"data"`
}

BaseEventInfoSchema is a schema from the AsyncAPI specification required in messages

type BaseEventSchema

type BaseEventSchema struct {
	Time time.Time `json:"time"`
}

BaseEventSchema is a schema from the AsyncAPI specification required in messages

type ContentDataSchema

type ContentDataSchema struct {
	ContentId string `json:"contentId"`
}

ContentDataSchema 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 EventPayloadSchema

type EventPayloadSchema struct {
	Data ContentDataSchema `json:"data"`
	Id   string            `json:"id"`
	Time time.Time         `json:"time"`
}

EventPayloadSchema 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.

Jump to

Keyboard shortcuts

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