Documentation
¶
Index ¶
- func Close() error
- func Init(sessionMode bool, ctx ...context.Context)
- func Select(fileName, id string) ([]byte, error)
- func Upsert(fileName, id string, body []byte) error
- type Pull
- type Record
- type SQL
- func (s *SQL) Close() error
- func (s *SQL) CreateTable() error
- func (s *SQL) DeleteOld(requested map[string]bool) (int64, error)
- func (s *SQL) Open() error
- func (s *SQL) Select(id string) ([]byte, error)
- func (s *SQL) SelectAll() ([]*Record, error)
- func (s *SQL) SelectAllID() ([]string, error)
- func (s *SQL) Upsert(id string, body []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Pull ¶
type Pull struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.