user_handler

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserDemo

type UserDemo interface {

	// Create 创建用户
	Create() core.HandlerFunc

	// UpdateNickNameByID 编辑用户 - 通过主键ID更新用户昵称
	UpdateNickNameByID() core.HandlerFunc

	// Delete 删除用户 - 通过主键ID更新 is_deleted = 1
	Delete() core.HandlerFunc

	// Detail 用户详情
	Detail() core.HandlerFunc
	// contains filtered or unexported methods
}

func NewUserDemo

func NewUserDemo(logger *zap.Logger, db db.Repo, cache cache.Repo) UserDemo

Jump to

Keyboard shortcuts

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