Documentation ¶
Index ¶
Constants ¶
const ( HttpOperationBindingRequest = "request" HttpOperationBindingResponse = "response" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpChannel ¶
type HttpChannel struct { }
HttpChannel is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/http#channel-binding-object
type HttpMessage ¶
type HttpMessage struct { Extensions map[string]interface{} `json:"-" yaml:"-"` Headers *openapi3.Schema `json:"headers,omitempty" yaml:"headers,omitempty"` BindingVersion string `json:"bindingVersion,omitempty" yaml:"bindingVersion,omitempty"` }
HttpMessage is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/http#message-binding-object
func (*HttpMessage) MarshalJSON ¶
func (value *HttpMessage) MarshalJSON() ([]byte, error)
func (*HttpMessage) UnmarshalJSON ¶
func (value *HttpMessage) UnmarshalJSON(data []byte) error
type HttpOperation ¶
type HttpOperation struct { Extensions map[string]interface{} `json:"-" yaml:"-"` Type HttpOperationBindingType `json:"type,omitempty" yaml:"type,omitempty"` Method string `json:"method,omitempty" yaml:"method,omitempty"` Query *openapi3.Schema `json:"query,omitempty" yaml:"query,omitempty"` BindingVersion string `json:"bindingVersion,omitempty" yaml:"bindingVersion,omitempty"` }
HttpOperation is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/http#operation-binding-object
func (*HttpOperation) MarshalJSON ¶
func (binding *HttpOperation) MarshalJSON() ([]byte, error)
func (*HttpOperation) UnmarshalJSON ¶
func (binding *HttpOperation) UnmarshalJSON(data []byte) error
type HttpOperationBindingType ¶
type HttpOperationBindingType string
type HttpServer ¶
type HttpServer struct { }
HttpServer is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/http#server-binding-object
type KafkaChannel ¶
type KafkaChannel struct { }
KafkaChannel is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/kafka#channel-binding-object
type KafkaMessage ¶
type KafkaMessage struct { Extensions map[string]interface{} `json:"-" yaml:"-"` Key *openapi3.Schema `json:"key" yaml:"key"` BindingVersion string `json:"bindingVersion" yaml:"bindingVersion"` }
KafkaMessage is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/kafka#message-binding-object
func (*KafkaMessage) MarshalJSON ¶
func (value *KafkaMessage) MarshalJSON() ([]byte, error)
func (*KafkaMessage) UnmarshalJSON ¶
func (value *KafkaMessage) UnmarshalJSON(data []byte) error
type KafkaOperation ¶
type KafkaOperation struct { Extensions map[string]interface{} `json:"-" yaml:"-"` GroupID *openapi3.Schema `json:"groupId" yaml:"groupId"` ClientID *openapi3.Schema `json:"clientId" yaml:"clientId"` BindingVersion string `json:"bindingVersion" yaml:"bindingVersion"` }
KafkaOperation is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/kafka#operation-binding-object
func (*KafkaOperation) MarshalJSON ¶
func (binding *KafkaOperation) MarshalJSON() ([]byte, error)
func (*KafkaOperation) UnmarshalJSON ¶
func (binding *KafkaOperation) UnmarshalJSON(data []byte) error
type KafkaServer ¶
type KafkaServer struct { }
KafkaServer is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/kafka#server-binding-object
type WsChannel ¶
type WsChannel struct { Extensions map[string]interface{} `json:"-" yaml:"-"` Method string `json:"method,omitempty" yaml:"method,omitempty"` Query *openapi3.Schema `json:"query,omitempty" yaml:"query,omitempty"` Headers *openapi3.Schema `json:"headers,omitempty" yaml:"headers,omitempty"` BindingVersion string `json:"bindingVersion,omitempty" yaml:"bindingVersion,omitempty"` }
WsChannel is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/websockets#channel-binding-object
func (*WsChannel) MarshalJSON ¶
func (*WsChannel) UnmarshalJSON ¶
type WsMessage ¶
type WsMessage struct { }
WsMessage is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/websockets#message-binding-object
type WsOperation ¶
type WsOperation struct { }
WsOperation is defined in AsyncAPI spec: https://github.com/asyncapi/bindings/tree/master/websockets#operation-binding-object