Documentation ¶
Index ¶
Constants ¶
View Source
const (
APPSTORAGEENDPOINT = "/platform/app-storage"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
func (*Storage) DeleteAppStorage ¶
func (s *Storage) DeleteAppStorage() (*models.AppStorageResponse, error)
DeleteAppStorage Remove all simple JSON objects attached to your XUMM App.
func (*Storage) GetAppStorage ¶
func (s *Storage) GetAppStorage() (*models.AppStorageResponse, error)
GetAppStorage Retrieve simple JSON objects attached to your XUMM App.
func (*Storage) SetAppStorage ¶
func (s *Storage) SetAppStorage(d map[string]interface{}) (*models.AppStorageResponse, error)
SetAppStorage Save simple JSON objects and attach it to your XUMM App.
type StorageInterface ¶
type StorageInterface interface { GetAppStorage() (*models.AppStorageResponse, error) SetAppStorage(d map[string]interface{}) (*models.AppStorageResponse, error) DeleteAppStorage() (*models.AppStorageResponse, error) }
Click to show internal directories.
Click to hide internal directories.