package
Version:
v0.0.5-dev
Opens a new window with list of versions in this module.
Published: Sep 22, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Action struct {
Action string `json:"action"`
Checksum string `json:"checksum"`
IP net.IP `json:"ip"`
Date time.Time `json:"time"`
}
Action - struct defines user action in client-server operations
type Content struct {
Payload string `json:"payload"`
Hash string `json:"hashsum"`
}
Content - define content wich will be saved or loaded
type Message struct {
Text string `json:"text"`
Content string `json:"content"`
}
Message - struct to notify logged in user
type PGP struct {
Date time.Time `json:"time,omitempty"`
Publickey string `json:"publickey"`
Confirmed bool `json:"confirmed,omitempty"`
}
PGP - struct to operate with list of pgp public keys
type User struct {
Username string `json:"username"`
Password string `json:"password"`
PublicKey string `json:"publickey"`
}
User - vault client-server model for signup and registartion
type Version struct {
Date time.Time `json:"time"`
Hash string `json:"hashsum"`
}
Version - struct with vault version description
Source Files
¶
Click to show internal directories.
Click to hide internal directories.