sdkapp

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 25 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JdocsPingerBots struct {
	Robots []JdocsPingerRobot
	// contains filtered or unexported fields
}
View Source
var MDNSAlreadyRun []string
View Source
var PingerEnabled bool = true

setting JDOCS_PINGER_ENABLED=false will disable jdocs pinger

View Source
var RunningMDNS bool

Functions

func BeginServer

func BeginServer()

func DisableCachingAndSniffing added in v1.4.2

func DisableCachingAndSniffing(next http.Handler) http.Handler

func InitJdocsPinger

func InitJdocsPinger()

func NewWP

func NewWP(serial string, useGlobal bool) (*vector.Vector, error)

func RunMDNS added in v1.0.1

func RunMDNS(botIP string)

func SdkapiHandler

func SdkapiHandler(w http.ResponseWriter, r *http.Request)

func ShouldPingJdocs

func ShouldPingJdocs(target string) bool

Types

type JdocsPingerRobot

type JdocsPingerRobot struct {
	ESN                string `json:"esn"`
	GUID               string `json:"guid"`
	IP                 string `json:"ip"`
	TimeSinceLastCheck int    `json:"timesince"`
	Stopped            bool   `json:"stopped"`
}

type Robot

type Robot struct {
	ESN               string
	GUID              string
	Target            string
	Vector            *vector.Vector
	BcAssumption      bool
	CamStreaming      bool
	EventStreamClient vectorpb.ExternalInterface_EventStreamClient
	EventsStreaming   bool
	StimState         float32
	ConnTimer         int32
	Ctx               context.Context
}

Jump to

Keyboard shortcuts

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