meta

package module
v0.0.0-...-0b76103 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BaseUrl = "https://graph.facebook.com"

Functions

This section is empty.

Types

type Client

type Client struct {
	HttpClient
	ApiVersion  string
	BaseUrl     string
	AccessToken string
}

func (Client) Buffer

func (c Client) Buffer(buf []byte) *bytes.Buffer

func (Client) Reader

func (c Client) Reader(buf []byte) io.Reader

func (Client) Writer

func (c Client) Writer(buf []byte) io.Writer

type HttpClient

type HttpClient interface {
	Get(string, *goxios.RequestOpts) (*http.Response, error)
	Post(string, *goxios.RequestOpts) (*http.Response, error)
	Put(string, *goxios.RequestOpts) (*http.Response, error)
	Patch(string, *goxios.RequestOpts) (*http.Response, error)
	Delete(string, *goxios.RequestOpts) (*http.Response, error)
	SetHeaders(headers ...goxios.Header) []goxios.Header
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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