Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CobyService ¶
type CobyService struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(store Store, expires time.Duration) *CobyService
func (*CobyService) Delete ¶
func (c *CobyService) Delete(token string) error
type Token ¶
type Token struct { Token string `json:"i" bson:"_id" redis:"i" msg:"t"` Data []string `json:"d,omitempty" bson:"d,omitempty" redis:"d" msg:"d"` Expire int64 `json:"e" bson:"e" redis:"e" msg:"e"` }
func (*Token) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
Click to show internal directories.
Click to hide internal directories.