// Code generated by goctl. DO NOT EDIT. // goctl 1.10.2 package types type CreateDirectoryReq struct { Id int64 `json:"id"` ServiceId int64 `json:"serviceId,optional"` Directory string `json:"directory,optional"` } type CreateKeyReq struct { Id int64 `json:"id"` Iden string `json:"iden,optional"` Name string `json:"name,optional"` Content string `json:"content,optional"` Status string `json:"status,optional"` } type CreateServiceReq struct { Id int64 `json:"id"` Name string `json:"name,optional"` Ip string `json:"ip,optional"` Port string `json:"port,optional"` Iden string `json:"iden,optional"` KeyIden string `json:"keyIden,optional"` KeyAlgo string `json:"keyAlgo,optional"` Status string `json:"status,optional"` } type DbPingResponse struct { Ok bool `json:"ok"` Version string `json:"version"` Database string `json:"database"` } type DeleteResp struct { Ok bool `json:"ok"` } type DirectoryIdReq struct { Id int64 `path:"id"` } type DirectoryListResp struct { List []DirectoryResp `json:"list"` } type DirectoryResp struct { Id int64 `json:"id"` ServiceId int64 `json:"serviceId"` Directory string `json:"directory"` } type KeyIdReq struct { Id int64 `path:"id"` } type KeyListResp struct { List []KeyResp `json:"list"` } type KeyResp struct { Id int64 `json:"id"` Iden string `json:"iden"` Name string `json:"name"` Content string `json:"content"` Status string `json:"status"` CreateAt string `json:"createAt"` } type Request struct { Name string `path:"name,options=you|me"` } type Response struct { Message string `json:"message"` } type ServiceIdReq struct { Id int64 `path:"id"` } type ServiceListResp struct { List []ServiceResp `json:"list"` } type ServiceResp struct { Id int64 `json:"id"` Name string `json:"name"` Ip string `json:"ip"` Port string `json:"port"` Iden string `json:"iden"` KeyIden string `json:"keyIden"` KeyAlgo string `json:"keyAlgo"` Status string `json:"status"` CreateAt string `json:"createAt"` } type UpdateDirectoryReq struct { Id int64 `path:"id"` ServiceId int64 `json:"serviceId,optional"` Directory string `json:"directory,optional"` } type UpdateKeyReq struct { Id int64 `path:"id"` Iden string `json:"iden,optional"` Name string `json:"name,optional"` Content string `json:"content,optional"` Status string `json:"status,optional"` } type UpdateServiceReq struct { Id int64 `path:"id"` Name string `json:"name,optional"` Ip string `json:"ip,optional"` Port string `json:"port,optional"` Iden string `json:"iden,optional"` KeyIden string `json:"keyIden,optional"` KeyAlgo string `json:"keyAlgo,optional"` Status string `json:"status,optional"` }