springboot

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(task *collecttask.CollectTask) (api.Input, error)

Types

type SpringBoot

type SpringBoot struct {
	// 携带上 方便排查问题
	TaskKey    string
	BaseUrl    string
	HttpClient *http.Client
	// 并发度
	Concurrency int
	// contains filtered or unexported fields
}

func (*SpringBoot) Collect

func (s *SpringBoot) Collect(a api.Accumulator) error

func (*SpringBoot) DebugInfo

func (s *SpringBoot) DebugInfo() map[string]interface{}

func (*SpringBoot) GetDefaultPrefix

func (s *SpringBoot) GetDefaultPrefix() string

func (*SpringBoot) UpdateFrom

func (s *SpringBoot) UpdateFrom(i interface{})

type SpringBootConf

type SpringBootConf struct {
	Conf struct {
		Port    int    `json:"port"`
		BaseUrl string `json:"baseUrl"`
	} `json:"conf"`
	RefMetas struct {
		App struct {
			Name string `json:"name"`
		} `json:"app"`
	} `json:"refMetas"`
}

Jump to

Keyboard shortcuts

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