issue135

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package "issue135" 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 (
	// V2Issue135GroupPath is the constant representing the 'V2Issue135Group' channel path.
	V2Issue135GroupPath = "v2.issue135.group"
	// V2Issue135InfoPath is the constant representing the 'V2Issue135Info' channel path.
	V2Issue135InfoPath = "v2.issue135.info"
	// V2Issue135ProjectPath is the constant representing the 'V2Issue135Project' channel path.
	V2Issue135ProjectPath = "v2.issue135.project"
	// V2Issue135ResourcePath is the constant representing the 'V2Issue135Resource' channel path.
	V2Issue135ResourcePath = "v2.issue135.resource"
	// V2Issue135StatusPath is the constant representing the 'V2Issue135Status' channel path.
	V2Issue135StatusPath = "v2.issue135.status"
)
View Source
const AsyncAPIVersion = "1.2.3"

AsyncAPIVersion is the version of the used AsyncAPI document

Variables

ChannelsPaths is an array of all channels paths

Functions

This section is empty.

Types

type ControllerOption

type ControllerOption func(controller *controller)

ControllerOption is the type of the options that can be passed when creating a new Controller

func WithErrorHandler added in v0.35.0

func WithErrorHandler(handler extensions.ErrorHandler) ControllerOption

WithErrorHandler attaches a errorhandler to handle errors from subscriber functions

func WithLogger

func WithLogger(logger extensions.Logger) ControllerOption

WithLogger attaches a logger to the controller

func WithMiddlewares

func WithMiddlewares(middlewares ...extensions.Middleware) ControllerOption

WithMiddlewares attaches middlewares that will be executed when sending or receiving messages

type Error

type Error struct {
	Channel string
	Err     error
}

func (*Error) Error

func (e *Error) Error() string

type MessageWithCorrelationID

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

type V2Issue135GroupMessage added in v0.41.2

type V2Issue135GroupMessage struct {
	// Payload will be inserted in the message payload
	Payload string
}

V2Issue135GroupMessage is the message expected for 'V2Issue135GroupMessage' channel.

func NewV2Issue135GroupMessage added in v0.41.2

func NewV2Issue135GroupMessage() V2Issue135GroupMessage

type V2Issue135InfoMessage added in v0.41.2

type V2Issue135InfoMessage struct {
	// Payload will be inserted in the message payload
	Payload string
}

V2Issue135InfoMessage is the message expected for 'V2Issue135InfoMessage' channel.

func NewV2Issue135InfoMessage added in v0.41.2

func NewV2Issue135InfoMessage() V2Issue135InfoMessage

type V2Issue135ProjectMessage added in v0.41.2

type V2Issue135ProjectMessage struct {
	// Payload will be inserted in the message payload
	Payload string
}

V2Issue135ProjectMessage is the message expected for 'V2Issue135ProjectMessage' channel.

func NewV2Issue135ProjectMessage added in v0.41.2

func NewV2Issue135ProjectMessage() V2Issue135ProjectMessage

type V2Issue135ResourceMessage added in v0.41.2

type V2Issue135ResourceMessage struct {
	// Payload will be inserted in the message payload
	Payload string
}

V2Issue135ResourceMessage is the message expected for 'V2Issue135ResourceMessage' channel.

func NewV2Issue135ResourceMessage added in v0.41.2

func NewV2Issue135ResourceMessage() V2Issue135ResourceMessage

type V2Issue135StatusMessage added in v0.41.2

type V2Issue135StatusMessage struct {
	// Payload will be inserted in the message payload
	Payload string
}

V2Issue135StatusMessage is the message expected for 'V2Issue135StatusMessage' channel.

func NewV2Issue135StatusMessage added in v0.41.2

func NewV2Issue135StatusMessage() V2Issue135StatusMessage

Jump to

Keyboard shortcuts

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