db

package
v0.0.0-...-931197b Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 6 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 NewClient

func NewClient(file, bucket string) (c *Client, err error)

func (*Client) AddTag

func (c *Client) AddTag(chatID int64, hashtag string) error

func (*Client) Close

func (c *Client) Close() error

func (*Client) DeleteTag

func (c *Client) DeleteTag(chatID int64, hashtag string) error

func (*Client) GetTags

func (c *Client) GetTags(chatID int64) (map[string]struct{}, error)

Jump to

Keyboard shortcuts

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