Documentation ¶ Index ¶ type CacheApi func Init(expireTimeout time.Duration) *CacheApi func (c *CacheApi) Get(hash string) (*events.AuthResponse, bool) func (c *CacheApi) Set(hash string, resp events.AuthResponse) *CacheApi Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CacheApi ¶ type CacheApi struct { // contains filtered or unexported fields } func Init ¶ func Init(expireTimeout time.Duration) *CacheApi func (*CacheApi) Get ¶ func (c *CacheApi) Get(hash string) (*events.AuthResponse, bool) func (*CacheApi) Set ¶ func (c *CacheApi) Set(hash string, resp events.AuthResponse) *CacheApi Source Files ¶ View all Source files init.go Click to show internal directories. Click to hide internal directories.