minipaste/server/responses.go

17 lines
301 B
Go

package server
type ResponseIndex struct {
Name string `json:"name"`
Version string `json:"version"`
GoVersion string `json:"go_version"`
Commit string `json:"commit"`
}
type ResponseAPIPost struct {
ID string `json:"id"`
}
type ResponseAPIList struct {
IDs []string `json:"ids"`
}