Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( RootDir = getRootDir() LogPath = filepath.Join(RootDir, "log") DataPath = filepath.Join(RootDir, "data") ExampleAccountJsonPath = filepath.Clean(DataPath + "/template/account/example.json") )
View Source
var ClientList = []Client{Web, Android, Ios}
Functions ¶
This section is empty.
Types ¶
type IncomeExpense ¶
type IncomeExpense string // @name IncomeExpense `example:"expense" enums:"income,expense" swaggertype:"string"`
IncomeExpense 收支类型
const ( Income IncomeExpense = "income" Expense IncomeExpense = "expense" )
func (*IncomeExpense) QueryExpense ¶
func (ie *IncomeExpense) QueryExpense() bool
func (*IncomeExpense) QueryIncome ¶
func (ie *IncomeExpense) QueryIncome() bool
type LogOperation ¶
type LogOperation string
const ( LogOperationOfAdd LogOperation = "add" LogOperationOfUpdate LogOperation = "update" LogOperationOfDelete LogOperation = "delete" )
type Notification ¶
type Notification int
const ( NotificationOfCaptcha Notification = iota NotificationOfRegistrationSuccess Notification = iota NotificationOfUpdatePassword Notification = iota )
type UserAction ¶
type UserAction string
const ( Login UserAction = "login" Register UserAction = "register" ForgetPassword UserAction = "forgetPassword" UpdatePassword UserAction = "updatePassword" )
Click to show internal directories.
Click to hide internal directories.