callback

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

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