http

package
v0.13.10 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigCenter = &Http{}

Functions

This section is empty.

Types

type Http

type Http struct {
	ReloadInterval time.Duration
	Urls           []string
	AuthBasic      string
	Headers        map[string]string
	// contains filtered or unexported fields
}

func (*Http) Handle added in v0.5.3

func (cc *Http) Handle(ctx context.Context, merge func(io.Reader) error, onChange func(io.Reader) error) error

本地配置

func (*Http) Type

func (cc *Http) Type() string

Jump to

Keyboard shortcuts

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