Versions in this module Expand all Collapse all v0 v0.0.2 Aug 7, 2021 Changes in this version + func HandleError(err error) + func Hash(s string) uint32 + func Info(w http.ResponseWriter, r *http.Request) + func Starter(url string) error + type Config struct + CacheDB *badger.DB + DBClient *db.ConfigDB + Lock *sync.Mutex + URL string + func (config *Config) GetCache(query string) (*string, error) + func (config *Config) GetQuery() func(w http.ResponseWriter, r *http.Request) + func (config *Config) PerformCachedQuery(query string) (*string, error) + func (config *Config) PerformQuery(query string) (*string, error) + func (config *Config) Query() func(w http.ResponseWriter, r *http.Request) + func (config *Config) SetCache(query string, answer string) error + func (config *Config) SetupRouter() *mux.Router + type ErrorJSON struct + Error string + Status string v0.0.1 May 2, 2021