client

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(ctx context.Context) (client *gclientx.Client)

func Delete

func Delete[T any](ctx context.Context, fromJson func(json *gjson.Json) T,
	url string, data ...interface{}) (T, error)

func Get

func Get[T any](ctx context.Context, fromJson func(json *gjson.Json) T,
	url string, data ...interface{}) (T, error)

func Post

func Post[T any](ctx context.Context, fromJson func(json *gjson.Json) T,
	url string, data ...interface{}) (T, error)

func Request

func Request[T any](ctx context.Context, fromJson func(json *gjson.Json) T,
	method string, url string, data ...interface{}) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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