restful

package
Version: v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata struct {
	Success  bool     `json:"success"`
	Error    []string `json:"error"`
	Total    int      `json:"total"`
	Actual   int      `json:"actual"`
	Next     string   `json:"next"`
	Previous string   `json:"previous"`
}

type Restful

type Restful struct {
	Meta   Metadata    `json:"meta"`
	Object interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL