impl

package
v0.0.0-...-dd21589 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserServiceImpl

type UserServiceImpl struct {
	HelloServiceClient pb.UserServiceClient `grpc:"user-service"`
}

+ioc:autowire=true +ioc:autowire:type=singleton

func GetUserServiceImplSingleton

func GetUserServiceImplSingleton() (*UserServiceImpl, error)

func (*UserServiceImpl) CreateUser

func (s *UserServiceImpl) CreateUser(ctx context.Context, in model.NewUser) (*model.User, error)

CreateUser implements service.UserApp

type UserServiceImplIOCInterface

type UserServiceImplIOCInterface interface {
	CreateUser(ctx contextx.Context, in model.NewUser) (*model.User, error)
}

func GetUserServiceImplIOCInterfaceSingleton

func GetUserServiceImplIOCInterfaceSingleton() (UserServiceImplIOCInterface, error)

type UserServiceStandaloneImpl

type UserServiceStandaloneImpl struct {
	UserService impl.UserServiceImplIOCInterface `singleton:""`
}

+ioc:autowire=true +ioc:autowire:type=singleton

func GetUserServiceStandaloneImplSingleton

func GetUserServiceStandaloneImplSingleton() (*UserServiceStandaloneImpl, error)

func (*UserServiceStandaloneImpl) CreateUser

CreateUser implements service.UserApp

type UserServiceStandaloneImplIOCInterface

type UserServiceStandaloneImplIOCInterface interface {
	CreateUser(ctx contextx.Context, in model.NewUser) (*model.User, error)
}

func GetUserServiceStandaloneImplIOCInterfaceSingleton

func GetUserServiceStandaloneImplIOCInterfaceSingleton() (UserServiceStandaloneImplIOCInterface, error)

Jump to

Keyboard shortcuts

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