Documentation ¶ Index ¶ type Service func New() *Service func (s *Service) Get(c *gin.Context, key string) (string, error) func (s *Service) Init(args ...services.Service) services.Service func (s *Service) Set(c *gin.Context, key, val string, args ...any) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New() *Service New 新建服务 func (*Service) Get ¶ func (s *Service) Get(c *gin.Context, key string) (string, error) Get 解密获取 Cookie func (*Service) Init ¶ func (s *Service) Init(args ...services.Service) services.Service Init 初始化 func (*Service) Set ¶ func (s *Service) Set(c *gin.Context, key, val string, args ...any) Set 加密设置 Cookie Source Files ¶ View all Source files cookie.go Click to show internal directories. Click to hide internal directories.