Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an is responsible for managing our storage.
func New ¶
func New( cache Implementation, errorChan chan error, queries chan common.PropertyQuery, results chan common.PropertyResponse, wg *sync.WaitGroup, waitForMissing bool, ) (*Client, error)
func (*Client) Get ¶
func (s *Client) Get(ctx context.Context, queries []common.PropertyQuery) []common.PropertyResponse
func (*Client) StartListening ¶
type Implementation ¶
type Ristretto ¶
type Ristretto struct {
// contains filtered or unexported fields
}
func (*Ristretto) SetWithTTL ¶
Click to show internal directories.
Click to hide internal directories.