riff

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

View Source
const Accept = "Accept"

Accept is a constant for Accept

View Source
const ContentType = "Content-Type"

ContentType is a constant for Content-Type

Variables

This section is empty.

Functions

func Close

func Close(i interface{})

Close provides a safe Close facility

Types

type Requester

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

func NewRequester

func NewRequester(requestIDKey, consumerGroupID string, kafkaBrokers []string, zookeeperLocation string) (*Requester, error)

func (*Requester) Close

func (r *Requester) Close() error

func (*Requester) Request

func (r *Requester) Request(topic string, reqID string, payload []byte) ([]byte, error)

type RiffTalk

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

func NewRiffTalk

func NewRiffTalk(k8sConfig, funcNamespace string) *RiffTalk

func (RiffTalk) Create

func (d RiffTalk) Create(fnName, image string) error

func (RiffTalk) Delete

func (d RiffTalk) Delete(fnName string) error

Jump to

Keyboard shortcuts

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