Documentation ¶
Index ¶
Constants ¶
View Source
const CachePluginName = "cache"
Variables ¶
View Source
var Handshake = hplugin.HandshakeConfig{
MagicCookieKey: "CACHE_PLUGIN",
MagicCookieValue: "m9erzlkcuac9gy4a2szc19j7xjleo4s4epwiio9opv8tjv9sid0qetl7cjo6ulkiskorqyg26pcsfyf979pgn28s5a7byfbq0n66",
}
Functions ¶
func Sever ¶
func Sever(opts *ServerOpts)
Types ¶
type GRPCCacheFunc ¶ added in v1.0.0
type GRPCCacheFunc func() *plugin.CacheServer
type ServerOpts ¶
type ServerOpts struct { GRPCCacheFunc GRPCCacheFunc TestConfig *hplugin.ServeTestConfig }
Click to show internal directories.
Click to hide internal directories.