scope

package
v0.0.0-...-30f5ca6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetActive

func SetActive(ctx context.Context, scope Scope) context.Context

Types

type Mutable

type Mutable interface {
	Scope

	SetAttribute(core.KeyValue)
	SetAttributes(...core.KeyValue)

	ModifyAttribute(core.Mutator)
	ModifyAttributes(...core.Mutator)
}

type Scope

type Scope interface {
	ScopeID() core.ScopeID
}

func Active

func Active(ctx context.Context) Scope

func New

func New(parent core.ScopeID, attributes ...core.KeyValue) Scope

Jump to

Keyboard shortcuts

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