amt_cache_get

package
v0.0.0-...-54a78e3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HostName        = "RedisHost"
	CacheKey        = "CacheKey"
	CacheBodyOut    = "CacheBody"
	CacheHeadersOut = "CacheHeaders"
	CacheCodeOut    = "CacheCode"
	CompleteOut     = "Complete"
)

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

NewActivity creates a new activity

Types

type AmtCacheActivity

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

AmtCacheActivity is a stub for your Activity implementation

func (*AmtCacheActivity) Eval

func (a *AmtCacheActivity) Eval(context activity.Context) (done bool, err error)

Eval implements activity.Activity.Eval

func (*AmtCacheActivity) GetRedis

func (a *AmtCacheActivity) GetRedis(opts *redis.Options) *redis.Client

func (*AmtCacheActivity) Metadata

func (a *AmtCacheActivity) Metadata() *activity.Metadata

Metadata implements activity.Activity.Metadata

Jump to

Keyboard shortcuts

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