datalayer

package module
v0.0.0-...-b62404e Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adapter

type Adapter interface {
	Get(output interface{}) error
	GetJSON() ([]byte, error)
}

type AdapterSDK

type AdapterSDK struct {
	SDKObject interface{}
}

func NewAdapterSDK

func NewAdapterSDK(object interface{}) *AdapterSDK

func (*AdapterSDK) Get

func (a *AdapterSDK) Get(output interface{}) error

func (*AdapterSDK) GetJSON

func (a *AdapterSDK) GetJSON() ([]byte, error)

type AdapterStatic

type AdapterStatic struct {
	Payload []byte
}

func NewAdapterStatic

func NewAdapterStatic(payload []byte) *AdapterStatic

func (*AdapterStatic) Get

func (a *AdapterStatic) Get(output interface{}) error

func (*AdapterStatic) GetJSON

func (a *AdapterStatic) GetJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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