Documentation
¶
Overview ¶
Package constantvar provides a runtimevar.Driver implementation for variables that never change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(value interface{}) *runtimevar.Variable
New constructs a runtimevar.Variable that returns value from Watch. Subsequent calls to Watch will block.
func NewError ¶
func NewError(err error) *runtimevar.Variable
NewError constructs a runtimevar.Variable that returns err from Watch. Subsequent calls to Watch will block.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.