Documentation
¶
Index ¶
- func ListenAndServe(methods interface{}, addr string, apiKey string) error
- type App
- func (a *App) AddContact(req *Contact, res *ContactResponse) error
- func (a *App) DecryptFile(req *Decrypt, res *DecryptResponse) error
- func (a *App) DecryptText(req *Decrypt, res *DecryptResponse) error
- func (a *App) EncryptFile(req *Encrypt, res *EncryptResponse) error
- func (a *App) EncryptText(req *Encrypt, res *EncryptResponse) error
- func (a *App) GenerateKey(req *Key, res *KeyResponse) error
- func (a *App) GetContact(req *Contact, res *ContactResponse) error
- func (a *App) GetContacts(req *string, res *ContactResponse) error
- func (a *App) GetKeys(req *string, res *KeyResponse) error
- func (a *App) GetSettings(req *string, res *string) error
- func (a *App) ImportContacts(req *string, res *string) error
- func (a *App) ImportKeys(req *string, res *string) error
- func (a *App) RemoveContact(req *Contact, res *ContactResponse) error
- func (a *App) RemoveKey(req *Key, res *KeyResponse) error
- func (a *App) ShowPrivateKey(req *Key, res *KeyResponse) error
- func (a *App) UpdateContact(req *Contact, res *ContactResponse) error
- func (a *App) UpdateKey(req *Key, res *KeyResponse) error
- func (a *App) UpdateSettings(req *string, res *string) error
- type Conn
- type Contact
- type ContactResponse
- type Decrypt
- type DecryptResponse
- type Encrypt
- type EncryptResponse
- type Key
- type KeyResponse
- type Service
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) AddContact ¶
func (a *App) AddContact(req *Contact, res *ContactResponse) error
func (*App) DecryptFile ¶
func (a *App) DecryptFile(req *Decrypt, res *DecryptResponse) error
func (*App) DecryptText ¶
func (a *App) DecryptText(req *Decrypt, res *DecryptResponse) error
func (*App) EncryptFile ¶
func (a *App) EncryptFile(req *Encrypt, res *EncryptResponse) error
func (*App) EncryptText ¶
func (a *App) EncryptText(req *Encrypt, res *EncryptResponse) error
func (*App) GenerateKey ¶
func (a *App) GenerateKey(req *Key, res *KeyResponse) error
func (*App) GetContact ¶
func (a *App) GetContact(req *Contact, res *ContactResponse) error
func (*App) GetContacts ¶
func (a *App) GetContacts(req *string, res *ContactResponse) error
func (*App) RemoveContact ¶
func (a *App) RemoveContact(req *Contact, res *ContactResponse) error
func (*App) ShowPrivateKey ¶
func (a *App) ShowPrivateKey(req *Key, res *KeyResponse) error
func (*App) UpdateContact ¶
func (a *App) UpdateContact(req *Contact, res *ContactResponse) error
type ContactResponse ¶
type DecryptResponse ¶
type EncryptResponse ¶
type KeyResponse ¶
Click to show internal directories.
Click to hide internal directories.