14 lines
337 B
Go
14 lines
337 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) error
|
|
UpdateConfirmation(c *Confirmation) error
|
|
}
|