dataconverter

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomDataConverter

func CustomDataConverter() converter.DataConverter

func DefaultDataConverter

func DefaultDataConverter() converter.DataConverter

func GetCurrent

func GetCurrent() converter.DataConverter

func SetCurrent

func SetCurrent(dc converter.DataConverter)

func SetRemoteEndpoint

func SetRemoteEndpoint(endpoint string, namespace string, auth string)

Types

type PayloadRequest

type PayloadRequest struct {
	RequestID string `json:"requestId"`
	Payload   string `json:"payload"`
}

type PayloadResponse

type PayloadResponse struct {
	RequestID string `json:"requestId"`
	Content   string `json:"content"`
}

Jump to

Keyboard shortcuts

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