interface.go 265 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package record type Storage interface { Upload(gZipFile, target string) } func NewStorageServer() Storage { //conf := config.GetGlobalConfig() // //switch conf.TermConfig.RePlayStorage["TYPE"] { //case "server": // return NewJmsStorage() //} return nil }