user

package
v0.7.6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewManager

func NewManager(
	kms key.Manager,
	metaDB metadb.Database,
	warehouse *warehouse.Manager,
) *Manager

func (*Manager) GetData

func (manager *Manager) GetData(ctx context.Context, id types.ID, from int64) ([]userData, error)

func (*Manager) GetDataIds

func (manager *Manager) GetDataIds(ctx context.Context, id types.ID) ([]userDataInfo, error)

GetDataIds returns all of user's dataIds

Jump to

Keyboard shortcuts

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