datasource

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataSource

type DataSource struct {
	Name string         `json:"name"`
	Type DataSourceType `json:"type"`
}

func NewDataSource

func NewDataSource(datasourceType string, datasourceName string) *DataSource

type DataSourceList

type DataSourceList []*DataSource

func (DataSourceList) ForName

func (l DataSourceList) ForName(name string) *DataSource

type DataSourceType

type DataSourceType string
const (
	NONE     DataSourceType = "NONE"
	DYNAMODB DataSourceType = "DYNAMODB"
)

Jump to

Keyboard shortcuts

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