Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemoveStringSlice ¶
Types ¶
type JwtAuthInfo ¶
type JwtAuthInfo struct { Slug string `json:"slug"` // namespace/name CreatedAt time.Time `json:"created_at"` Signature string `json:"signature"` }
func (*JwtAuthInfo) BuildSign ¶
func (j *JwtAuthInfo) BuildSign(secret string) string
func (*JwtAuthInfo) CheckSign ¶
func (j *JwtAuthInfo) CheckSign(secret string) bool
Click to show internal directories.
Click to hide internal directories.