constantvar

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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