appdata

package
v0.0.0-...-ff4b9cc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppData

type AppData struct {
	Api dboxapi.DBoxAPI
	// contains filtered or unexported fields
}

func Instance

func Instance() *AppData

func (*AppData) Data

func (appdata *AppData) Data() []byte

func (*AppData) Delete

func (appdata *AppData) Delete(path string)

func (*AppData) Get

func (appdata *AppData) Get(path string) gjson.Result

func (*AppData) Pull

func (appdata *AppData) Pull(path string) []byte

func (*AppData) Push

func (appdata *AppData) Push(path string)

func (*AppData) Set

func (appdata *AppData) Set(path string, value interface{})

func (*AppData) String

func (appdata *AppData) String() string

type PostData

type PostData struct {
	Category string      `json:"category"`
	Action   string      `json:"action,omitempty"`
	Params   interface{} `json:"params,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL