graphrequest

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostConfig

type PostConfig struct {
	URL       string
	Headers   map[string]string
	Query     string
	Variables map[string]interface{}
	Logger    *zap.SugaredLogger
}

func (*PostConfig) Post

func (p *PostConfig) Post() (interface{}, error)

func (*PostConfig) PostRetry

func (p *PostConfig) PostRetry(count int, delay int) (interface{}, error)

func (*PostConfig) SetupUserAgent

func (p *PostConfig) SetupUserAgent(userAgent string)

type Response

type Response struct {
	Data  interface{}
	Error interface{}
}

Jump to

Keyboard shortcuts

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