dao

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AvApi *avApi.Client

AvApi liveRpc room-service api

View Source
var BvcApi *bvcApi.Client

BvcApi liveRpc room-service api

View Source
var FansMedalApi *fansMedalApi.Client

FansMedalApi liveRpc room-service api

View Source
var LiveDataApi *liveDataApi.Client

LiveDataApi liveRpc room-service api

View Source
var LiveUserApi *liveUserApi.Client

LiveUserApi liveRpc room-service api

View Source
var RankdbApi *rankdbApi.Client

RankdbApi liveRpc rankdb-service api

View Source
var RelationApi *relationApi.Client

RelationApi liveRpc room-service api

View Source
var RoomApi *roomApi.Client

RoomApi liveRpc room-service api

View Source
var RoomExtApi *roomExApi.Client

RoomExtApi liveRpc room-service api

View Source
var RoomRawApi *liverpc.Client

RoomRawApi liveRpc room-service api

View Source
var SkyHorseApi *skyHorseApi.Client

SkyHorseApi ... liveRpc room-service api

View Source
var UserExtApi *userExtApi.Client

UserExtApi liveRpc room-service api

View Source
var XuserApi *xuserApi.Client

RankdbApi liveRpc rankdb-service api

Functions

func InitAPI

func InitAPI()

InitAPI init all service APIs

Types

type Dao

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

Dao dao

func New

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

New init mysql db

func (*Dao) Close

func (d *Dao) Close()

Close close the resource.

func (*Dao) Ping

func (d *Dao) Ping(c context.Context) error

Ping dao ping

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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