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 account dao.

func New

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

New account 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)

func (*Dao) Following3

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

Following3 following.

func (*Dao) IsAttention

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

IsAttention is attention

Jump to

Keyboard shortcuts

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