14 lines
366 B
Go
14 lines
366 B
Go
package tacitus
|
|
|
|
type Confirmation struct {
|
|
Id int `json:"id"`
|
|
Product string `json:"product"`
|
|
LastTradeId int `json:"last_trade_id"`
|
|
}
|
|
|
|
type ConfirmationService interface {
|
|
Confirmation(product string) (Confirmation, error)
|
|
CreateConfirmation(c Confirmation) (Confirmation, error)
|
|
UpdateConfirmation(c Confirmation) (Confirmation, error)
|
|
}
|