Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
Types ¶
type FieldEncrypt ¶
type FieldEncrypt struct {
// contains filtered or unexported fields
}
func NewFieldEncrypt ¶
func NewFieldEncrypt(key string) (*FieldEncrypt, error)
func (*FieldEncrypt) Encrypt ¶
func (ec *FieldEncrypt) Encrypt(payload string) string
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is the implementation of the activity.Store interface backed by SQLite
func NewSQLiteStore ¶
NewSQLiteStore creates a new Store with an event table if not exists.
Click to show internal directories.
Click to hide internal directories.