Documentation ¶
Index ¶
- type NormalApp
- type NormalAppIOCInterface
- type RecursiveApp
- type RecursiveAppIOCInterface
- type Service
- type ServiceImpl1
- type ServiceImpl1IOCInterface
- type ServiceImpl2
- type ServiceImpl2IOCInterface
- type ServiceStruct
- type ServiceStructIOCInterface
- type ThisRecursiveApp
- type ThisServiceImpl1
- type ThisServiceImpl2
- type ThisServiceStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NormalApp ¶
type NormalApp struct { // inject main.ServiceImpl1 pointer to Service interface with proxy wrapper ServiceImpl1 Service `normal:"github.com/alibaba/ioc-golang/test/stress/aop.ServiceImpl1"` }
func GetNormalApp ¶
type NormalAppIOCInterface ¶
func GetNormalAppIOCInterface ¶
func GetNormalAppIOCInterface() (NormalAppIOCInterface, error)
type RecursiveApp ¶
type RecursiveApp struct { ThisRecursiveApp // inject main.ServiceImpl1 pointer to Service interface with proxy wrapper ServiceImpl1 Service `normal:"github.com/alibaba/ioc-golang/test/stress/aop.ServiceImpl1"` // contains filtered or unexported fields }
func GetRecursiveAppSingleton ¶
func GetRecursiveAppSingleton() (*RecursiveApp, error)
func (*RecursiveApp) Reset ¶
func (s *RecursiveApp) Reset()
func (*RecursiveApp) RunTest ¶
func (s *RecursiveApp) RunTest(t *testing.T)
type RecursiveAppIOCInterface ¶
func GetRecursiveAppIOCInterfaceSingleton ¶
func GetRecursiveAppIOCInterfaceSingleton() (RecursiveAppIOCInterface, error)
type ServiceImpl1 ¶
type ServiceImpl1 struct { }
func GetServiceImpl1 ¶
func GetServiceImpl1() (*ServiceImpl1, error)
func GetServiceImpl1Singleton ¶
func GetServiceImpl1Singleton() (*ServiceImpl1, error)
func (*ServiceImpl1) GetHelloString ¶
func (s *ServiceImpl1) GetHelloString(name string) string
type ServiceImpl1IOCInterface ¶
func GetServiceImpl1IOCInterface ¶
func GetServiceImpl1IOCInterface() (ServiceImpl1IOCInterface, error)
func GetServiceImpl1IOCInterfaceSingleton ¶
func GetServiceImpl1IOCInterfaceSingleton() (ServiceImpl1IOCInterface, error)
type ServiceImpl2 ¶
type ServiceImpl2 struct { }
func GetServiceImpl2 ¶
func GetServiceImpl2() (*ServiceImpl2, error)
func GetServiceImpl2Singleton ¶
func GetServiceImpl2Singleton() (*ServiceImpl2, error)
func (*ServiceImpl2) GetHelloString ¶
func (s *ServiceImpl2) GetHelloString(name string) string
type ServiceImpl2IOCInterface ¶
func GetServiceImpl2IOCInterface ¶
func GetServiceImpl2IOCInterface() (ServiceImpl2IOCInterface, error)
func GetServiceImpl2IOCInterfaceSingleton ¶
func GetServiceImpl2IOCInterfaceSingleton() (ServiceImpl2IOCInterface, error)
type ServiceStruct ¶
type ServiceStruct struct { }
func GetServiceStruct ¶
func GetServiceStruct() (*ServiceStruct, error)
func GetServiceStructSingleton ¶
func GetServiceStructSingleton() (*ServiceStruct, error)
func (*ServiceStruct) GetString ¶
func (s *ServiceStruct) GetString(name string) string
type ServiceStructIOCInterface ¶
func GetServiceStructIOCInterface ¶
func GetServiceStructIOCInterface() (ServiceStructIOCInterface, error)
func GetServiceStructIOCInterfaceSingleton ¶
func GetServiceStructIOCInterfaceSingleton() (ServiceStructIOCInterface, error)
type ThisRecursiveApp ¶ added in v1.0.1
type ThisRecursiveApp struct { }
func (*ThisRecursiveApp) This ¶ added in v1.0.1
func (t *ThisRecursiveApp) This() RecursiveAppIOCInterface
type ThisServiceImpl1 ¶ added in v1.0.1
type ThisServiceImpl1 struct { }
func (*ThisServiceImpl1) This ¶ added in v1.0.1
func (t *ThisServiceImpl1) This() ServiceImpl1IOCInterface
type ThisServiceImpl2 ¶ added in v1.0.1
type ThisServiceImpl2 struct { }
func (*ThisServiceImpl2) This ¶ added in v1.0.1
func (t *ThisServiceImpl2) This() ServiceImpl2IOCInterface
type ThisServiceStruct ¶ added in v1.0.1
type ThisServiceStruct struct { }
func (*ThisServiceStruct) This ¶ added in v1.0.1
func (t *ThisServiceStruct) This() ServiceStructIOCInterface
Click to show internal directories.
Click to hide internal directories.