ots

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(c *Config) *Client

func (Client) Insert

func (o Client) Insert(table string, data *Data) (err error)

func (Client) InsertOrUpdate

func (o Client) InsertOrUpdate(table string, data *Data) (err error)

func (Client) Update

func (o Client) Update(table string, data *Data) (err error)

type Config

type Config struct {
	EndPoint        string
	InstanceName    string
	AccessKeyId     string
	AccessKeySecret string
}

type Data

type Data struct {
	Keys map[string]interface{}
	Rows map[string]interface{}
}

Jump to

Keyboard shortcuts

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