Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DataAccess ¶
type DataAccess interface { Get(key string) (DataSet, error) Has(key string) (bool, error) Set(key string, value DataSet) error Delete(key string) error ListAll() ([]param, error) Close() error }
DataAccess Access Wrapper Interface
var DA DataAccess
DA DataAccess struct
type DataSet ¶
type DataSet struct { SubscribeID string `json:"subscribe_id"` UserID string `json:"user_id"` Username string `json:"username"` Domain string `json:"domain"` AccessToken string `json:"access_token"` ExponentPushToken string `json:"exponent_push_token"` PushPrivateKey string `json:"push_private_key"` PushPublicKey string `json:"push_public_key"` PushAuth string `json:"push_auth"` ServerKey string `json:"server_key"` CreatedAt int64 `json:"created_at"` LastUpdatedAt int64 `json:"last_updated_at"` }
DataSet JSON Subscribe Data struct
Click to show internal directories.
Click to hide internal directories.