framework example set/get config //set config func SetConfig(conf interface{}) //get config func GetConfig() interface{} add heartbeat server framework.SetAppName("heartbeat") framework.Heartbeat(10*time.Second, Func()) framework:start()