client

package
v0.6.75 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IService

type IService interface {
	SetAuthorization(token string)
	Get(route string, params map[string]string) (*resty.Response, error)
	Delete(route string, params map[string]string) (*resty.Response, error)
	Put(route string, body any, params map[string]string) (*resty.Response, error)
	Post(route string, body any, params map[string]string) (*resty.Response, error)
}

func NewService

func NewService(logger *zap.SugaredLogger, baseURL string) IService

Jump to

Keyboard shortcuts

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