Documentation
¶
Index ¶
- func BindRemoteTransportServer(topic string, pubsub remote.PubSub, transp api.TransportHandler) error
- func NewDefaultTransport(endpoint string, user, pass, rawPem []byte) (transp api.TransportHandler, err error)
- func NewRemoteTransportClient(rrchan remote.RequestReplyChannel) (transp api.Transport)
- type SimpleMemoryCacheHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func NewSimpleMemoryCacheHandler ¶
func NewSimpleMemoryCacheHandler() *SimpleMemoryCacheHandler
func (*SimpleMemoryCacheHandler) Handle ¶
func (smch *SimpleMemoryCacheHandler) Handle(info api.RequestCommandInfo, th api.TransportHandler, req *api.Request) (res api.Response)
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 |
Click to show internal directories.
Click to hide internal directories.