global

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccGRPC

func GetAccGRPC() accgrpc.AccountClient

GetAccGRPC .

func GetArcGRPC

func GetArcGRPC() arcgrpc.ArchiveClient

GetArcGRPC .

func GetBMClient

func GetBMClient() *bm.Client

GetBMClient get http client

func GetInfo

func GetInfo(c context.Context, mid int64) (res *accmdl.Info, err error)

GetInfo get info

func GetInfos

func GetInfos(c context.Context, mids []int64) (res map[int64]*accmdl.Info, err error)

GetInfos get many infos

func GetMc

func GetMc() *memcache.Pool

GetMc get mc

func GetMemGRPC

func GetMemGRPC() memgrpc.MemberClient

GetMemGRPC .

func GetName

func GetName(c context.Context, mid int64) (nickname string)

GetName get user name

func GetTagGRPC

func GetTagGRPC() taggrpc.TagRPCClient

GetTagGRPC .

func Init

func Init(c *conf.Config)

Init init global

Types

This section is empty.

Jump to

Keyboard shortcuts

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