publishing

package
v0.0.0-...-99a799c Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: GPL-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Success = 1
	Fail    = 0
)

Variables

This section is empty.

Functions

func RegisterRPCService

func RegisterRPCService(log kitlog.Logger, repo rel.Repository)

Types

type RpcUserService

type RpcUserService struct {
	Repo rel.Repository

	Log kitlog.Logger
	// contains filtered or unexported fields
}

func (*RpcUserService) CreateUserApp

func (s *RpcUserService) CreateUserApp(args *user.UserApp, reply *int) error

func (*RpcUserService) Delete

func (s *RpcUserService) Delete(userID *int, reply *int) error

func (*RpcUserService) FindByAccount

func (s *RpcUserService) FindByAccount(account string, reply *user.User) error

func (*RpcUserService) FindByID

func (s *RpcUserService) FindByID(userID *int, reply *user.User) error

func (*RpcUserService) Insert

func (s *RpcUserService) Insert(args *user.User, reply *int) error

func (*RpcUserService) Update

func (s *RpcUserService) Update(args *user.User, reply *int) error

Jump to

Keyboard shortcuts

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