proxy

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ALMemoryProxy

type ALMemoryProxy interface {
	GetEventList() ([]string, error)
	Subscriber(eventName string) (SubscriberProxy, error)
	// Generic methods shared by all objectsProxy
	bus.ObjectProxy
	// WithContext can be used cancellation and timeout
	WithContext(ctx context.Context) ALMemoryProxy
}

ALMemoryProxy represents a proxy object to the service

func ALMemory

func ALMemory(session bus.Session) (ALMemoryProxy, error)

ALMemory returns a proxy to a remote service

func MakeALMemory

func MakeALMemory(sess bus.Session, proxy bus.Proxy) ALMemoryProxy

MakeALMemory returns a specialized proxy.

type ALTextToSpeechProxy

type ALTextToSpeechProxy interface {
	Say(stringToSay string) error
	// Generic methods shared by all objectsProxy
	bus.ObjectProxy
	// WithContext can be used cancellation and timeout
	WithContext(ctx context.Context) ALTextToSpeechProxy
}

ALTextToSpeechProxy represents a proxy object to the service

func ALTextToSpeech

func ALTextToSpeech(session bus.Session) (ALTextToSpeechProxy, error)

ALTextToSpeech returns a proxy to a remote service

func MakeALTextToSpeech

func MakeALTextToSpeech(sess bus.Session, proxy bus.Proxy) ALTextToSpeechProxy

MakeALTextToSpeech returns a specialized proxy.

type SubscriberProxy

type SubscriberProxy interface {
	SubscribeSignal() (unsubscribe func(), updates chan value.Value, err error)
	// Generic methods shared by all objectsProxy
	bus.ObjectProxy
	// WithContext can be used cancellation and timeout
	WithContext(ctx context.Context) SubscriberProxy
}

SubscriberProxy represents a proxy object to the service

func MakeSubscriber

func MakeSubscriber(sess bus.Session, proxy bus.Proxy) SubscriberProxy

MakeSubscriber returns a specialized proxy.

func Subscriber

func Subscriber(session bus.Session) (SubscriberProxy, error)

Subscriber returns a proxy to a remote service

Jump to

Keyboard shortcuts

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