base

package
v0.0.0-...-4942552 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Base

type Base struct {
	logx.Logger
	Ctx    context.Context
	SvcCtx *svc.ServiceContext
}

func NewBase

func NewBase(ctx context.Context, svcCtx *svc.ServiceContext) *Base

func (*Base) Login

func (l *Base) Login(req types.LoginName) (*types.Response, error)

func (*Base) Register

func (l *Base) Register(req types.LoginReq) error

Jump to

Keyboard shortcuts

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