http

package
v0.0.0-...-0825164 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MaxIdleConns        *int `default:"10"`
	MaxConnsPerHost     *int `default:"10"`
	MaxIdleConnsPerHost *int `default:"10"`
}

func New

func New() *Config

type PropertyClient

type PropertyClient struct {
	H *http.Client
	B *redis.MessageBroker
	// contains filtered or unexported fields
}

func (*PropertyClient) GetConfig

func (c *PropertyClient) GetConfig(application string, profile string, label string, out interface{}) error

func (*PropertyClient) GetConfigWithNotice

func (c *PropertyClient) GetConfigWithNotice(application string, profile string, label string, out interface{}, u update.Updater) error

Jump to

Keyboard shortcuts

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