account

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

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

Dao is archive dao.

func New

func New(c *conf.Config) (d *Dao)

New new a archive dao.

func (*Dao) Card3

func (d *Dao) Card3(c context.Context, mid int64) (res *account.Card, err error)

Card3 get card info by mid

func (*Dao) Cards3

func (d *Dao) Cards3(c context.Context, mids []int64) (res map[int64]*account.Card, err error)

Cards3 get cards info by mids

func (*Dao) Following3

func (d *Dao) Following3(c context.Context, mid, owner int64) (follow bool, err error)

Following3 following.

func (*Dao) Infos3

func (d *Dao) Infos3(c context.Context, mids []int64) (res map[int64]*account.Info, err error)

Infos3 rpc info get by mids .

func (*Dao) IsAttention

func (d *Dao) IsAttention(c context.Context, owners []int64, mid int64) (isAtten map[int64]int8)

IsAttention is

func (*Dao) Relations3

func (d *Dao) Relations3(c context.Context, owners []int64, mid int64) (follows map[int64]bool)

Relations3 relatons

Jump to

Keyboard shortcuts

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