Commit from m3o/m3o action

This commit is contained in:
m3o-actions
2021-11-26 12:50:18 +00:00
parent 81c307da6f
commit 1232a8904f
22 changed files with 806 additions and 742 deletions

View File

@@ -24,6 +24,14 @@ func (t *AppService) Reserve(request *ReserveRequest) (*ReserveResponse, error)
}
// Vote to have the App api launched faster!
func (t *AppService) Vote(request *VoteRequest) (*VoteResponse, error) {
rsp := &VoteResponse{}
return rsp, t.client.Call("app", "Vote", request, rsp)
}
type Reservation struct {
// time of reservation
Created string `json:"created"`
@@ -45,3 +53,13 @@ type ReserveRequest struct {
type ReserveResponse struct {
Reservation *Reservation `json:"reservation"`
}
type VoteRequest struct {
// optional message
Message string `json:"message"`
}
type VoteResponse struct {
// response message
Message string `json:"message"`
}