hsdp

package
v0.0.0-...-d555e51 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCaseToUnderscore

func CamelCaseToUnderscore(str string) string

CamelCaseToUnderscore converts from camel case form to underscore separated form. Ex.: MyFunc => my_func From govalidator MIT Copyright (c) 2014 Alex Saskevich

func FLBPluginExit

func FLBPluginExit() int

func FLBPluginFlush

func FLBPluginFlush(data unsafe.Pointer, length C.int, tag *C.char) int

func FLBPluginInit

func FLBPluginInit(ctx unsafe.Pointer) int

func FLBPluginRegister

func FLBPluginRegister(ctx unsafe.Pointer) int

func GetProxyUrl

func GetProxyUrl(proxyUrl string) func(*http.Request) (*url.URL, error)

Types

type Plugin

type Plugin interface {
	Environment(ctx unsafe.Pointer, key string) string
	Unregister(ctx unsafe.Pointer)
	GetRecord(dec *output.FLBDecoder) (ret int, ts interface{}, rec map[interface{}]interface{})
	NewDecoder(data unsafe.Pointer, length int) *output.FLBDecoder
	Send(values []logging.Resource) error
	Exit(code int)
}

Plugin interface for verifying all methods are available

Jump to

Keyboard shortcuts

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