simple

package
v0.0.0-...-e09cdd1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Simple

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

func NewSimple

func NewSimple(conf *conf.PgSQLConfig) (*Simple, error)

func (*Simple) DB

func (s *Simple) DB() *gorm.DB

func (*Simple) GetUserCenter

func (s *Simple) GetUserCenter(projectID string, account string) (*models.UserCenter, error)

func (*Simple) KvDelete

func (s *Simple) KvDelete(project string, account string, bucket string, key string) (err error)

func (*Simple) KvUpdate

func (s *Simple) KvUpdate(project string, account string, bucket string, key string, payload models.JSONMap) (err error)

func (*Simple) StorageKV

func (s *Simple) StorageKV(kvStorage models.KVStorage) error

Jump to

Keyboard shortcuts

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