Documentation
¶
Index ¶
- Variables
- func FormatCacheKey(req *http.Request) string
- type CacheReader
- type CacheWriter
- type Client
- func (c *Client) Close()
- func (c *Client) Get(ctx context.Context, req *http.Request, httpTimeout time.Duration) (*http.Response, error)
- func (c *Client) NewWriter(ctx context.Context, req *http.Request, resp *http.Response, ...) (io.WriteCloser, error)
- func (c *Client) Ping(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotExist = errors.New("key not found")
Functions ¶
func FormatCacheKey ¶
Types ¶
type CacheReader ¶
type CacheReader struct {
// contains filtered or unexported fields
}
func (*CacheReader) Close ¶
func (c *CacheReader) Close() error
type CacheWriter ¶
type CacheWriter struct {
// contains filtered or unexported fields
}
func (*CacheWriter) Close ¶
func (c *CacheWriter) Close() error
Click to show internal directories.
Click to hide internal directories.