Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitializeDependencies ¶
func InitializeDependencies( g *zanzibar.Gateway, ) (*DependenciesTree, *Dependencies)
InitializeDependencies fully initializes all dependencies in the dep tree for the example-gateway service
Types ¶
type ClientDependenciesNodes ¶
type ClientDependenciesNodes struct { Bar barclientgenerated.Client Baz bazclientgenerated.Client Contacts contactsclientgenerated.Client GoogleNow googlenowclientgenerated.Client Multi multiclientgenerated.Client Quux quuxclientstatic.IClient Withexceptions withexceptionsclientgenerated.Client }
ClientDependenciesNodes contains client dependencies
type Dependencies ¶
type Dependencies struct { Default *zanzibar.DefaultDependencies Endpoint *EndpointDependencies }
Dependencies contains dependencies for the example-gateway service module
type DependenciesTree ¶
type DependenciesTree struct { Client *ClientDependenciesNodes Middleware *MiddlewareDependenciesNodes Endpoint *EndpointDependenciesNodes }
DependenciesTree contains all deps for this service.
type EndpointDependencies ¶
type EndpointDependencies struct { Bar barendpointgenerated.Endpoint Baz bazendpointgenerated.Endpoint Clientless clientlessendpointgenerated.Endpoint Contacts contactsendpointgenerated.Endpoint Googlenow googlenowendpointgenerated.Endpoint Multi multiendpointgenerated.Endpoint Panic panicendpointgenerated.Endpoint BazTChannel baztchannelendpointgenerated.Endpoint PanicTChannel panictchannelendpointgenerated.Endpoint Quux quuxendpointgenerated.Endpoint Withexceptions withexceptionsendpointgenerated.Endpoint }
EndpointDependencies contains endpoint dependencies
type EndpointDependenciesNodes ¶
type EndpointDependenciesNodes struct { Bar barendpointgenerated.Endpoint Baz bazendpointgenerated.Endpoint Clientless clientlessendpointgenerated.Endpoint Contacts contactsendpointgenerated.Endpoint Googlenow googlenowendpointgenerated.Endpoint Multi multiendpointgenerated.Endpoint Panic panicendpointgenerated.Endpoint BazTChannel baztchannelendpointgenerated.Endpoint PanicTChannel panictchannelendpointgenerated.Endpoint Quux quuxendpointgenerated.Endpoint Withexceptions withexceptionsendpointgenerated.Endpoint }
EndpointDependenciesNodes contains endpoint dependencies
type MiddlewareDependenciesNodes ¶
type MiddlewareDependenciesNodes struct { DefaultExample defaultexamplemiddlewaregenerated.Middleware DefaultExample2 defaultexample2middlewaregenerated.Middleware DefaultExampleTchannel defaultexampletchannelmiddlewaregenerated.Middleware Example examplemiddlewaregenerated.Middleware ExampleTchannel exampletchannelmiddlewaregenerated.Middleware }
MiddlewareDependenciesNodes contains middleware dependencies
Click to show internal directories.
Click to hide internal directories.