client

package
v0.0.0-...-d35a86b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserAgent  = "kratos"
	Debug      = false
	RetryCount = 3
	Timeout    = 30 * time.Second
)

Functions

func AddFlags

func AddFlags(fs *pflag.FlagSet)

func IsDiscoveryEndpoint

func IsDiscoveryEndpoint(server string) bool

IsDiscoveryEndpoint used to determine if the given endpoint is a service discovery endpoint.

func NewRequest

func NewRequest(url string) *resty.Request

Types

This section is empty.

Jump to

Keyboard shortcuts

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