client

package
v0.0.0-...-97da09a Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 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 IService

type IService interface {
	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, endpoint string) IService

Jump to

Keyboard shortcuts

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