gateway

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DELIMITER = string("<<>>")
)

Variables

View Source
var BatchEvent = []byte(`
	{
		"batch": [
		]
	}
`)
View Source
var CustomVal string

Functions

func GetStringifiedData

func GetStringifiedData(data interface{}) string

Types

type HandleT

type HandleT struct {
	// contains filtered or unexported fields
}

func (*HandleT) ProcessAgentRequest

func (gateway *HandleT) ProcessAgentRequest(payload string, writeKey string) string

func (*HandleT) ProcessRequest

func (gateway *HandleT) ProcessRequest(c *gin.Context, reqType string)

func (*HandleT) ProcessWorkerRequest added in v1.2.0

func (gateway *HandleT) ProcessWorkerRequest(payload []byte, writeKey string)

func (*HandleT) Setup

func (gateway *HandleT) Setup(jobsDB *jobsdb.HandleT, routerJobsDB *jobsdb.HandleT, configDB *backendconfig.HandleT)

Jump to

Keyboard shortcuts

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