ots

package
v0.0.0-...-d96d936 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapMustGetString

func MapMustGetString(m map[string]any, key string) string

Types

type TableManager

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

TableManager 管理表格存储操作

func NewTableManager

func NewTableManager(endpoint, instanceName, accessKeyID, accessKeySecret string) (*TableManager, error)

NewTableManager 创建一个新的 TableManager

func (*TableManager) CreateTable

func (tm *TableManager) CreateTable()

CreateTable 创建一个新表

func (*TableManager) GetRow

func (tm *TableManager) GetRow(id string) (map[string]any, error)

func (*TableManager) PutRow

func (tm *TableManager) PutRow(id string, column map[string]any) error

func (*TableManager) UpdateRow

func (tm *TableManager) UpdateRow(id string, column map[string]any) error

Jump to

Keyboard shortcuts

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