Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomId ¶
Types ¶
type IdGenerationError ¶
type IdGenerationError struct {
// contains filtered or unexported fields
}
type NetworkError ¶
type NetworkError struct {
// contains filtered or unexported fields
}
type Storage ¶
type Storage interface { Post(data Data, expires int64) (string, error) Get(id string, passHash string) (Data, error) Delete(id string) error }
func OpenDiskStorageFromEnv ¶
func OpenMemoryStorage ¶
func OpenMemoryStorage() Storage
func OpenRemoteStorage ¶
Click to show internal directories.
Click to hide internal directories.