Documentation ¶
Index ¶
- func Client(username string, password string) (client *http.Client, err error)
- func Login(client *http.Client, username string, password string) error
- func PostContract(client *http.Client, contract Contract) error
- func UploadImage(client *http.Client, img string) (hash string, err error)
- type Contract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostContract ¶
PostContract posts a contract to OpenBazaar local server.
Types ¶
Click to show internal directories.
Click to hide internal directories.