http

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 4 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 {
	Interval  time.Duration
	Url       string
	AuthBasic string
	Headers   map[string]string
}

func (*Http) HandleConfig

func (cc *Http) HandleConfig(handle func([]byte)) 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