Documentation ¶
Index ¶
- Variables
- func CheckLimits(data []byte, ttl int, hits int) string
- func Decrypt(data string, keyStr string, pc chan []byte)
- func EditLink(apiEndpoint string, hc chan string, phc chan string, delete bool, ...) (shared.APIResponse, error)
- func Encrypt(data []byte, kd chan []byte, sc chan []byte, dc chan string)
- func GenHash(keyStr string, hc chan string)
- func GenID() string
- func GenPass(keyStr string, hc chan string)
- func GetLink(apiEndpoint string, hc chan string, phc chan string) (shared.APIResponseData, error)
- func KeyDerivation(keyStr string, kc chan []byte, sc chan []byte)
- func ShareDecode(data []byte) (string, []byte)
- func ShareEncode(shareType string, data []byte) []byte
- type File
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorNetwork = errors.New("network error, try again later") ErrorValidation = errors.New("data validation error, check your inputs") )
Functions ¶
func KeyDerivation ¶
func ShareDecode ¶
func ShareEncode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.