model

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 16, 2018 License: LGPL-3.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 Pub

type Pub struct {
	DB        *gorm.DB
	RedisPool *redis.Pool
}

Pub service

func (*Pub) HeroGetAll

func (pub *Pub) HeroGetAll(ctx context.Context, args *pubmsg.HeroGetAllArgs, res *pubmsg.HeroGetAllReply) (err error)

HeroGetAll 取英雄信息

func (*Pub) SignIn added in v1.0.3

func (pub *Pub) SignIn(ctx context.Context, args *pubmsg.SignInArgs, res *pubmsg.SignInReply) (err error)

SignIn sign in

func (*Pub) SignUp added in v1.0.3

func (pub *Pub) SignUp(ctx context.Context, args *pubmsg.SignUpArgs, res *pubmsg.SignUpReply) (err error)

SignUp sign up

Jump to

Keyboard shortcuts

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