service1

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-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 Impl1

type Impl1 struct {
	HelloServiceClient api.HelloServiceClient `grpc:"hello-service"`
}

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

func GetImpl1Singleton

func GetImpl1Singleton() (*Impl1, error)

func (*Impl1) Hello

func (i *Impl1) Hello(req string) string

type Impl1IOCInterface

type Impl1IOCInterface interface {
	Hello(req string) string
}

func GetImpl1IOCInterfaceSingleton

func GetImpl1IOCInterfaceSingleton() (Impl1IOCInterface, error)

type Service1

type Service1 interface {
	Hello(string) string
}

type ThisImpl1 added in v1.0.1

type ThisImpl1 struct {
}

func (*ThisImpl1) This added in v1.0.1

func (t *ThisImpl1) This() Impl1IOCInterface

Jump to

Keyboard shortcuts

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