memory

package
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewOnce sync.Once

Functions

func NewModule

func NewModule() fx.Option

NewModule registers github.com/xgodev/boost/builder/examples/simple/stock/memory.New 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 OptionsModule

func OptionsModule() fx.Option

OptionsModule provides the Options of github.com/xgodev/boost/builder/examples/simple/stock/memory, filled from the config keys under builder.examples.simple.stock.memory. It returns an empty option after the first call, so every consumer can include it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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