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 app/demo/xyz service
Types ¶
type ClientDependenciesNodes ¶
type ClientDependenciesNodes struct { Bar barclientgenerated.Client Baz bazclientgenerated.Client Echo echoclientstatic.Client }
ClientDependenciesNodes contains client dependencies
type Dependencies ¶
type Dependencies struct { Default *zanzibar.DefaultDependencies Endpoint *EndpointDependencies }
Dependencies contains dependencies for the app/demo/xyz 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 { AppDemoAbc appdemoabcendpointgenerated.Endpoint Bar barendpointgenerated.Endpoint }
EndpointDependencies contains endpoint dependencies
type EndpointDependenciesNodes ¶
type EndpointDependenciesNodes struct { AppDemoAbc appdemoabcendpointgenerated.Endpoint Bar barendpointgenerated.Endpoint }
EndpointDependenciesNodes contains endpoint dependencies
type MiddlewareDependenciesNodes ¶
type MiddlewareDependenciesNodes struct { DefaultExample defaultexamplemiddlewaregenerated.Middleware DefaultExample2 defaultexample2middlewaregenerated.Middleware DefaultExampleTchannel defaultexampletchannelmiddlewaregenerated.Middleware Example examplemiddlewaregenerated.Middleware }
MiddlewareDependenciesNodes contains middleware dependencies
Click to show internal directories.
Click to hide internal directories.