sandbox

package
v0.0.0-...-1d0e1de Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePHPCommand

func GeneratePHPCommand(targetFunction string, userID string, extensionID string, serverID string, requestData map[string]string, token string, baseURL string, locale string, logObject RegularLog) (string, error)

GeneratePHPCommand generate command

func WriteRegularLog

func WriteRegularLog(logObject RegularLog)

WriteRegularLog Write Regular Log Object

func WriteSpecialLog

func WriteSpecialLog(logObject SpecialLog)

WriteSpecialLog Write Special extension log object.

Types

type RegularLog

type RegularLog struct {
	UserID      string `json:"user_id"`
	ExtensionID string `json:"extension_id"`
	ServerID    string `json:"server_id"`
	IPAddress   string `json:"ip_address"`
	Display     string `json:"display"`
	View        string `json:"view"`
	LogID       string `json:"log_id"`
}

RegularLog regular extension log.

type SpecialLog

type SpecialLog struct {
	UserID  string `json:"user_id"`
	Message string `json:"message"`
	Title   string `json:"title"`
	LogID   string `json:"log_id"`
	Data    string `json:"data"`
}

SpecialLog special extension log.

Jump to

Keyboard shortcuts

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