namespace

package
v1.0.0-alpha.18 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: Apache-2.0, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func New

func New(t Timer) *Provider

func (*Provider) Load

func (p *Provider) Load(name string) (ns netsim.Scope, ok bool)

func (*Provider) LoadOrCreate

func (p *Provider) LoadOrCreate(name string) netsim.Scope

type Timer

type Timer interface {
	After(d time.Duration, callback func()) (cancel func())
}

Jump to

Keyboard shortcuts

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