Documentation
¶
Index ¶
- Variables
- type Controller
- type Service
- 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)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
SessionsService *Service
}
func (*Controller) In ¶
func (x *Controller) In(r *route.RouterGroup)
Click to show internal directories.
Click to hide internal directories.