schema

package
v0.0.0-...-b72f9b1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PubRequest string

PubRequest is the text file loaded schema for PublishRequests

View Source
var PubRequestCodec = avro.CreateSchema(PubRequest)

PubRequestCodec is the prepared avro codec for PubRequests

View Source
var PubResponse string

PubResponse is the text file loaded schema for PubResponses

View Source
var PubResponseCodec = avro.CreateSchema(PubResponse)

PubResponseCodec is the prepared avro codec for PubResponses

View Source
var RegisterSubRequest string

RegisterSubRequest is the text file loaded schema for RegisterSubRequests

View Source
var RegisterSubRequestCodec = avro.CreateSchema(RegisterSubRequest)

RegisterSubRequestCodec is the prepared avro codec for RegisterSubRequests

View Source
var RegisterSubResponse string

RegisterSubResponse is the text file loaded schema for RegisterSubResponses

View Source
var RegisterSubResponseCodec = avro.CreateSchema(RegisterSubResponse)

RegisterSubResponseCodec is the prepared avro codec for RegisterSubResponses

View Source
var ReqResRequest string

ReqResRequest is the text file loaded schema for Request Response Requests

View Source
var ReqResRequestCodec = avro.CreateSchema(ReqResRequest)

ReqResRequestCodec is the prepared avro codec for Request Response Requests

View Source
var ReqResResponse string

ReqResResponse is the text file loaded schema for Request Response Resposes

View Source
var ReqResResponseCodec = avro.CreateSchema(ReqResResponse)

ReqResResponseCodec is the prepared avro codec for Request Response Resposes

View Source
var UnregisterSubRequest string

UnregisterSubRequest is the text file loaded schema for UnregisterSubRequests

View Source
var UnregisterSubRequestCodec = avro.CreateSchema(UnregisterSubRequest)

UnregisterSubRequestCodec is the prepared avro codec for UnregisterSubRequests

View Source
var UnregisterSubResponse string

UnregisterSubResponse is the text file loaded schema for UnregisterSubResponses

View Source
var UnregisterSubResponseCodec = avro.CreateSchema(UnregisterSubResponse)

UnregisterSubResponseCodec is the prepared avro codec for UnregisterSubResponses

Functions

This section is empty.

Types

type PubRequestType

type PubRequestType struct {
	Topic   string `json:"topic"`
	Payload []byte `json:"payload"`
}

PubRequestType is the struct for an Publish request

type PubResponseType

type PubResponseType struct {
	Error string `json:"error"`
}

PubResponseType is the struct for an Publish response

type RegisterSubRequestType

type RegisterSubRequestType struct {
	Topic string `json:"topic"`
}

RegisterSubRequestType is the struct used for a Register Subscription request

type RegisterSubResponseType

type RegisterSubResponseType struct {
	Subject string `json:"subject"`
	Error   string `json:"error"`
}

RegisterSubResponseType is the struct for a Register Subscription response

type ReqResRequestType

type ReqResRequestType struct {
	Topic   string `json:"topic"`
	Payload []byte `json:"payload"`
	Timeout int32  `json:"timeout"`
}

ReqResRequestType is the struct for an `request respsonse` request

type ReqResResponsetType

type ReqResResponsetType struct {
	Payload []byte `json:"payload"`
	Error   string `json:"error"`
}

ReqResResponsetType is the struct for an `request respsonse` response

type UnregisterSubRequestType

type UnregisterSubRequestType struct {
	Subject string `json:"subject"`
}

UnregisterSubRequestType is the struct for an Unregister Subscription request

type UnregisterSubResponseType

type UnregisterSubResponseType struct {
	Error string `json:"error"`
}

UnregisterSubResponseType is the struct for an Unregister Subscription response

Jump to

Keyboard shortcuts

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