struct1

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 Struct1

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

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

func GetStruct1Singleton

func GetStruct1Singleton() (*Struct1, error)

func (*Struct1) Hello

func (i *Struct1) Hello(name string) string

type Struct1IOCInterface

type Struct1IOCInterface interface {
	Hello(name string) string
}

func GetStruct1IOCInterfaceSingleton

func GetStruct1IOCInterfaceSingleton() (Struct1IOCInterface, error)

type ThisStruct1 added in v1.0.1

type ThisStruct1 struct {
}

func (*ThisStruct1) This added in v1.0.1

func (t *ThisStruct1) This() Struct1IOCInterface

Jump to

Keyboard shortcuts

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