transports

package
v0.0.0-...-db7d511 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2019 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindRemoteTransportServer

func BindRemoteTransportServer(topic string, pubsub remote.PubSub, transp api.TransportHandler) error

func NewDefaultTransport

func NewDefaultTransport(endpoint string, user, pass, rawPem []byte) (transp api.TransportHandler, err error)

func NewRemoteTransportClient

func NewRemoteTransportClient(rrchan remote.RequestReplyChannel) (transp api.Transport)

Types

type SimpleMemoryCacheHandler

type SimpleMemoryCacheHandler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewSimpleMemoryCacheHandler

func NewSimpleMemoryCacheHandler() *SimpleMemoryCacheHandler

func (*SimpleMemoryCacheHandler) Handle

Implements TransportCacheHandler func(RequestCommandInfo, TransportHandler, *Request) (Response)

Directories

Path Synopsis
A quick and dirty implementation to cache in mongodb
A quick and dirty implementation to cache in mongodb

Jump to

Keyboard shortcuts

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