Documentation ¶ Index ¶ type Entry type Store func NewStore(timeout time.Duration) *Store func (s *Store) Add(host, database, query, kind string, tables []string, explainResult string, ...) string func (s *Store) Get(id string) (*Entry, error) func (s *Store) Remove(id string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Entry ¶ type Entry struct { ID string Host string Database string Query string Kind string Tables []string ExplainResult string EstimatedRows int64 CreatedAt time.Time ExpiresAt time.Time } type Store ¶ type Store struct { // contains filtered or unexported fields } func NewStore ¶ func NewStore(timeout time.Duration) *Store func (*Store) Add ¶ func (s *Store) Add(host, database, query, kind string, tables []string, explainResult string, estimatedRows int64) string func (*Store) Get ¶ func (s *Store) Get(id string) (*Entry, error) func (*Store) Remove ¶ func (s *Store) Remove(id string) Source Files ¶ View all Source files store.go Click to show internal directories. Click to hide internal directories.