include

package
v0.0.0-...-c626c17 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AppbaseVersionString = "eosgo-appbase-beta"

Variables

This section is empty.

Functions

This section is empty.

Types

type Caller

type Caller interface {
	Call(data ...interface{})
}

type Channel

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

func NewChannel

func NewChannel(io *asio.IoContext) *Channel

func (*Channel) Publish

func (s *Channel) Publish(data ...interface{})

* * Publish data to a channel. This data is *copied* on publish. * @param data - the data to publish

func (*Channel) Subscribe

func (s *Channel) Subscribe(f Caller)

* * subscribe to data on a channel * @tparam Callback the type of the callback (functor|lambda) * @param cb the callback * @return handle to the subscription

type Method

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

func NewMethod

func NewMethod() *Method

func (*Method) CallMethods

func (m *Method) CallMethods(data ...interface{})

func (*Method) Register

func (m *Method) Register(f Caller)

type Signal

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

func (*Signal) Connect

func (s *Signal) Connect(f Caller)

func (*Signal) Emit

func (s *Signal) Emit(data ...interface{})

Jump to

Keyboard shortcuts

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