callback

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 7 modules, 29 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	// may return an Unsupported error on failure
	Handle(callbacks ...Interface) error
}

type HandlerFunc

type HandlerFunc func(callbacks ...Interface) error

func (HandlerFunc) Handle

func (f HandlerFunc) Handle(callbacks ...Interface) error

type Interface

type Interface interface {
}

type Interprocess

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

func NewInterprocess

func NewInterprocess() *Interprocess

func (*Interprocess) Client

func (cb *Interprocess) Client() upid.UPID

func (*Interprocess) Server

func (cb *Interprocess) Server() upid.UPID

func (*Interprocess) Set

func (cb *Interprocess) Set(server, client upid.UPID)

type Name

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

func NewName

func NewName() *Name

func (*Name) Get

func (cb *Name) Get() string

func (*Name) Set

func (cb *Name) Set(name string)

type Password

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

func NewPassword

func NewPassword() *Password

func (*Password) Get

func (cb *Password) Get() []byte

func (*Password) Set

func (cb *Password) Set(password []byte)

type Unsupported

type Unsupported struct {
	Callback Interface
}

func (*Unsupported) Error

func (uc *Unsupported) Error() string

Jump to

Keyboard shortcuts

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