Documentation
¶
Index ¶
Constants ¶
View Source
const ( UserRecordKey string = "public_key:%s" UserIDKey string = "key:%s" PostRecordKey string = "post:%d:%s" )
Variables ¶
This section is empty.
Functions ¶
func DatabasePath ¶
func DatabasePath() string
func SetDatabasePath ¶
func SetDatabasePath(newPath string)
func SetValuePath ¶
func SetValuePath(newPath string)
Types ¶
type DB ¶
func GetConnection ¶
func (*DB) RegisterUser ¶
func (d *DB) RegisterUser(request models.RegisterRequest) error
Click to show internal directories.
Click to hide internal directories.