vdjango

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IDjango

type IDjango struct {
	URL    string
	Key    string
	Export bool
}

func NewIDjango

func NewIDjango() (r *IDjango)

func (*IDjango) Post

func (i *IDjango) Post(data interface{}, path string) (err error)

type IDjangoError

type IDjangoError struct {
	Err     error       `json:"error" bson:"error"`
	Message string      `json:"message" bson:"message"`
	Code    int         `json:"code" bson:"code"`
	Body    interface{} `json:"body" bson:"body"`
	Line    int         `json:"line" bson:"line"`
	File    string      `json:"file" bson:"file"`
}

func NewIDjangoError

func NewIDjangoError(err error, code int, body interface{}) *IDjangoError

func (*IDjangoError) Error

func (i *IDjangoError) Error() string

Jump to

Keyboard shortcuts

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