Versions in this module Expand all Collapse all v1 v1.0.0 Oct 9, 2020 Changes in this version + func NewLoggerHandler(logger *zap.Logger, handler fasthttp.RequestHandler) fasthttp.RequestHandler + type DefaultServer struct + func (o *DefaultServer) Start() error + func (o *DefaultServer) Stop() + type GroupMaintenance struct + func NewGroupMaintenance(logger *zap.Logger, m ...Maintenance) GroupMaintenance + func (o *GroupMaintenance) Start(ctx context.Context, interval time.Duration) + type Maintenance interface + Clean func(ctx context.Context) error + ID func() string + type Server interface + Start func() error + Stop func() + func NewServer(logger *zap.Logger, conf config.Config, storages storages.Storages) Server