Documentation
¶
Index ¶
Constants ¶
View Source
const ( NoteTableName = "note" UserTableName = "user" SecretKey = "secret key" IdentityKey = "id" Total = "total" Notes = "notes" NoteID = "note_id" ApiServiceName = "demoapi" NoteServiceName = "demonote" UserServiceName = "demouser" CPURateLimit float64 = 80.0 DefaultLimit = 10 )
Variables ¶
View Source
var ( MySQLDefaultDSN = "gorm:gorm@tcp(" + GetIp("MysqlIp") + ":9910)/gorm?charset=utf8&parseTime=True&loc=Local" EtcdAddress = GetIp("EtcdIp") + ":2379" )
Functions ¶
func GetOutBoundIP ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.