Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_SERVER_DEADLINE = 15 * time.Second
View Source
const MESSAGE_TYPE_BANNED = "BANNED"
View Source
const MESSAGE_TYPE_GET_PRIVATE_KEY = "GET_PRIVATE_KEY"
Common Messages
View Source
const MESSAGE_TYPE_PRIVATE_KEY_ALREADY_EXISTS = "PRIVATE_KEY_ALREADY_EXISTS"
View Source
const MESSAGE_TYPE_PRIVATE_KEY_SAVED = "MESSAGE_TYPE_PRIVATE_KEY_SAVED"
Successes
View Source
const MESSAGE_TYPE_STORE_PRIVATE_KEY = "STORE_PRIVATE_KEY"
View Source
const MESSAGE_TYPE_WRONG_CREDENTIALS = "WRONG_CREDENTIALS"
Errors
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrivateKeyExchange ¶
func Client ¶
func Client(password, host, port string, request PrivateKeyExchange) *PrivateKeyExchange
Click to show internal directories.
Click to hide internal directories.