rpc

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: MIT Imports: 6 Imported by: 0

README

rpc 客户端

Documentation

Index

Constants

View Source
const (
	APP_NAME = "devops_client"
)

Variables

This section is empty.

Functions

func GetRestClient

func GetRestClient() *resty.Client

Types

type Client

type Client struct {
	ioc.ObjectImpl

	Address      string `json:"address" yaml:"address" toml:"address" env:"ADDRESS"`
	ClientId     string `json:"client_id" yaml:"client_id" toml:"client_id" env:"CLIENT_ID"`
	ClientSecret string `json:"client_secret" yaml:"client_secret" toml:"client_secret" env:"CLIENT_SECRET"`
	// contains filtered or unexported fields
}

func (*Client) Init

func (c *Client) Init() error

func (*Client) Name

func (c *Client) Name() string

Jump to

Keyboard shortcuts

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