info( title: "Jianyu Filesystem" desc: "剑鱼文件系统,基于阿里云OSS封装" author: "Tao Zhang" email: "zhanghongbo@topnet.net.cn" ) type ( CreateDomainReq { name string `form:"name"` meta string `form:"meta"` } DomainOpResp { state string `json:"state"` } LoadDomainReq { name string `form:"name"` } ) service filesystem-api { //创建域 @handler CreateDomain post /filesystem/domain/create (CreateDomainReq) returns (DomainOpResp) //删除域 @handler DeleteDomain post /filesystem/domain/delete (LoadDomainReq) returns (DomainOpResp) }