service

package
v0.0.0-...-db98cbe Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 6 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

func GetCurrentUser

func GetCurrentUser(ctx context.Context, in *emptypb.Empty) (*v1.UserReply, error)

func UpdateUser

func UpdateUser(ctx context.Context, in *v1.UpdateUserRequest) (*v1.UserReply, error)

Types

type AccountService

type AccountService struct {
	v1.UnimplementedAccountServer
	// contains filtered or unexported fields
}

func NewAccountService

func NewAccountService(account *biz.AccountUseCase, logger log.Logger) *AccountService

func (*AccountService) Accounts

type RealWorldService

type RealWorldService struct {
	v1.UnimplementedRealWorldServer
	// contains filtered or unexported fields
}

func NewRealWorldService

func NewRealWorldService(auth *biz.AuthUseCase, logger log.Logger) *RealWorldService

func (*RealWorldService) Login

func (*RealWorldService) Register

func (s *RealWorldService) Register(ctx context.Context, in *v1.RegisterRequest) (*v1.UserReply, error)

Jump to

Keyboard shortcuts

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