Versions in this module Expand all Collapse all v0 v0.0.28 Jul 26, 2022 Changes in this version + var Provides = wire.NewSet(wire.Struct(new(Controller), "*"), wire.Struct(new(Service), "*")) + type Controller struct + SessionsService *Service + func (x *Controller) In(r *route.RouterGroup) + type Service struct + Redis *redis.Client + Values *common.Values + func (x *Service) Create(ctx context.Context, name string, code string, ttl time.Duration) error + func (x *Service) Delete(ctx context.Context, name string) error + func (x *Service) Exists(ctx context.Context, name string) (_ bool, err error) + func (x *Service) Key(name string) string + func (x *Service) Verify(ctx context.Context, name string, code string) (_ bool, err error)