cache

package
v0.0.0-...-3f3ba90 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 7 Imported by: 0

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
}

func GetRedisClient

func GetRedisClient() *Client

func NewRedis

func NewRedis() *Client

func (*Client) GetDNS

func (c *Client) GetDNS(ctx context.Context, url string) (model.Dns, error)

func (*Client) SetDNS

func (c *Client) SetDNS(ctx context.Context, d model.Dns) error

Jump to

Keyboard shortcuts

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