service

package
v0.0.0-...-489c00f Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ca *r.Client
)

Functions

func Init

func Init()

Init 初始化用户服务层

Types

type Service

type Service interface {
	SendMobileCode(ctx context.Context, in *baseproto.SendMobileCodeIn) *baseproto.CommonOutput
	IsMobileCodeOk(ctx context.Context, in *baseproto.IsMobileCodeOkIn) *baseproto.CommonOutput
}

Service 用户服务类

func GetService

func GetService() (Service, error)

GetService 获取服务类

Jump to

Keyboard shortcuts

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