Versions in this module Expand all Collapse all v1 v1.0.2 Mar 5, 2020 v1.0.1 Feb 16, 2020 v1.0.0 Sep 17, 2019 Changes in this version + type Config struct + ApiKey string + BaseURL string + Port int + type Server struct + Cfg *Config + func NewServer(ctx *ctx.Ctx, cfg *Config, db *badger.DB) *Server + func (s *Server) Run() error + func (s *Server) Shutdown(timeout time.Duration) error