Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var GrpcPluginsOnce sync.Once
var PluginsOnce sync.Once
var RestPluginsOnce sync.Once
Functions ¶
func GrpcPluginsModule ¶ added in v1.6.1
GrpcPluginsModule registers github.com/xgodev/boost/builder/examples/simple/probe.GrpcPlugins and the modules it depends on. It returns an empty option after the first call, so a constructor shared by several modules is registered only once.
func PluginsModule ¶
PluginsModule registers github.com/xgodev/boost/builder/examples/simple/probe.Plugins and the modules it depends on. It returns an empty option after the first call, so a constructor shared by several modules is registered only once.
func RestPluginsModule ¶ added in v1.6.1
RestPluginsModule registers github.com/xgodev/boost/builder/examples/simple/probe.RestPlugins and the modules it depends on. It returns an empty option after the first call, so a constructor shared by several modules is registered only once.
Types ¶
This section is empty.