simpletable

package module
v0.0.0-...-5f34eba Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	Name        string `md:"name,required"`
	Description string `md:"description"`
	Properties  string `md:"properties,required"`
	Schema      string `md:"schema"`
}

Settings for dgraph

func NewSetting

func NewSetting(settings map[string]interface{}) (*Settings, error)

func (*Settings) ToMap

func (s *Settings) ToMap() map[string]interface{}

type SimpletableFactory

type SimpletableFactory struct {
}

SimpletableFactory for postgres connection

func (*SimpletableFactory) NewManager

func (this *SimpletableFactory) NewManager(settings map[string]interface{}) (connection.Manager, error)

NewManager SimpletableFactory

func (*SimpletableFactory) Type

func (this *SimpletableFactory) Type() string

Type SimpletableFactory

type SimpletableManager

type SimpletableManager struct {
	// contains filtered or unexported fields
}

SimpletableManager details

func (*SimpletableManager) GetConnection

func (this *SimpletableManager) GetConnection() interface{}

GetConnection SimpletableManager details

func (*SimpletableManager) Lookup

func (this *SimpletableManager) Lookup(clientID string, config map[string]interface{}) (table.Table, error)

func (*SimpletableManager) ReleaseConnection

func (this *SimpletableManager) ReleaseConnection(connection interface{})

ReleaseConnection SimpletableManager details

func (*SimpletableManager) Start

func (this *SimpletableManager) Start() error

Start SimpletableManager details

func (*SimpletableManager) Stop

func (this *SimpletableManager) Stop() error

Stop SimpletableManager details

func (*SimpletableManager) Type

func (this *SimpletableManager) Type() string

Type SimpletableManager details

Jump to

Keyboard shortcuts

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