tstor/src/http/model.go

10 lines
141 B
Go
Raw Normal View History

package http
type RouteAdd struct {
Magnet string `json:"magnet" binding:"required"`
}
type Error struct {
Error string `json:"error"`
}