base

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Data    any    `json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Message) Error

func (msg *Message) Error() string

func (*Message) Response added in v0.0.3

func (msg *Message) Response() *resty.Response

type Service

type Service struct {
	Client *resty.Client
}

func New

func New(endpoint string) *Service

Jump to

Keyboard shortcuts

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