component

package
v0.0.0-...-41edef4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 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 Core

type Core struct {
	// contains filtered or unexported fields
}

func NewCore

func NewCore(ctx *context.Context) *Core

func (*Core) HttpDeleteJson

func (c *Core) HttpDeleteJson(path string, request interface{}, headers ...map[string]string) (body string, err error)

DELETE

func (*Core) HttpGetJson

func (c *Core) HttpGetJson(path string, params url.Values, headers ...map[string]string) (body string, err error)

GET

func (*Core) HttpPatchJson

func (c *Core) HttpPatchJson(path string, request interface{}, headers ...map[string]string) (body string, err error)

PATCH

func (*Core) HttpPostJson

func (c *Core) HttpPostJson(path string, request interface{}, headers ...map[string]string) (body string, err error)

POST

func (*Core) HttpPutJson

func (c *Core) HttpPutJson(path string, request interface{}, headers ...map[string]string) (body string, err error)

PUT

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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