register

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Register

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

func New

func New(defaultTimeout time.Duration, debug bool) *Register

func (*Register) Complete

func (this *Register) Complete(id string, code int, value interface{})

func (*Register) Register

func (this *Register) Register(id string)

func (*Register) Wait

func (this *Register) Wait(id string) (int, interface{})

func (*Register) WaitWithTimeout

func (this *Register) WaitWithTimeout(id string, timeout time.Duration) (int, interface{})

type State

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

Jump to

Keyboard shortcuts

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