Documentation ¶ Index ¶ type Client func New(c *Config) *Client func (o Client) Insert(table string, data *Data) (err error) func (o Client) InsertOrUpdate(table string, data *Data) (err error) func (o Client) Update(table string, data *Data) (err error) type Config type Data 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{} } Source Files ¶ View all Source files insert.go ots.go types.go Click to show internal directories. Click to hide internal directories.