lang

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 11

Documentation

Index

Constants

View Source
const (
	APP_TYPE_PYTHON = 3
	APP_TYPE_PHP    = 4

	// BSM App Type
	APP_TYPE_BSM    = 6
	APP_TYPE_DOTNET = 7
	APP_TYPE_GO     = 8

	// Php, Python 로직 분기로 분기
	APP_TYPE_BSM_PYTHON = 20
	APP_TYPE_BSM_PHP    = 21
	APP_TYPE_BSM_DOTNET = 22
	APP_TYPE_BSM_GO     = 23
)
View Source
const (
	EVENT_LEVEL_CRITICAL = 30
	EVENT_LEVEL_WARNING  = 20
	EVENT_LEVEL_INFO     = 10
	EVENT_LEVEL_NONE     = 0
)
View Source
const (
	MESSAGE_FILE_WRITE_OPEN       = "FileWriteOpen"
	MESSAGE_FILE_READ_OPEN        = "FileReadOpen"
	MESSAGE_JSP                   = "JSP"
	MESSAGE_CLOSE_CONNECTION      = "Close Connection"
	MESSAGE_TRANSACTION_BACKSTACK = "TRANSACTION BACKSTACK"
	MESSAGE_PREPARED_SQL          = "prepare-sql"
	MESSAGE_OPEN_CONNECTION_STACK = "Open Connection Stack"
	MESSAGE_CAP_ARG               = "TraceArgs"
	MESSAGE_CAP_RETURN            = "TraceReturn"
	MESSAGE_CAP_THIS              = "TraceConstructor"
	MESSAGE_CONN_ALLOC_DUP        = "Connection allocated to multi-threads"
	MESSAGE_THREAD_START          = "Thread-Start"
	MESSAGE_SOCKET_OPEN           = "SocketOpen"
	MESSAGE_CUSTOM_OPEN           = "CustomOpen"
	MESSAGE_CUSTOM_CLOSE          = "CustomClose"
	MESSAGE_ASYNC_CTX             = "AsyncCtx"
	MESSAGE_EXCEPTION             = "EXCEPTION"
	MESSAGE_THREAD_CHILD          = "Child-Thread-Call"
	MESSAGE_ORIGIN_URL            = "OriginURL"
	MESSAGE_MESSAGE               = "MESSAGE"
	MESSAGE_METHOD_DEBUG          = "Debug-Method"
	MESSAGE_VIRTUAL_TX            = "Virtual-Tx"
)

Variables

View Source
var EventLevelName = map[int]string{30: "CRITICAL", 20: "WARNING", 10: "INFO", 0: "NONE"}
View Source
var EventLevelValue = map[string]int{"CRITICAL": 30, "WARNING": 20, "INFO": 10, "NONE": 0}

Functions

This section is empty.

Types

type PKIND

type PKIND struct {
	PCode int64
	OKind int32
}

func NewPKIND

func NewPKIND(pcode int64, oid int32) *PKIND

func (*PKIND) CompareTo

func (this *PKIND) CompareTo(n *PKIND) int

func (*PKIND) Equals

func (this *PKIND) Equals(obj hmap.LinkedKey) bool

func (*PKIND) GetOid

func (this *PKIND) GetOid() int32

func (*PKIND) GetPCode

func (this *PKIND) GetPCode() int64

func (*PKIND) Hash

func (this *PKIND) Hash() uint

func (*PKIND) ToString

func (this *PKIND) ToString() string

type PKOID added in v0.0.15

type PKOID struct {
	PCode int64
	OKind int32
	Oid   int32
}

func NewPKOID added in v0.0.15

func NewPKOID(pcode int64, okind int32, oid int32) *PKOID

func (*PKOID) CompareTo added in v0.0.15

func (this *PKOID) CompareTo(n *PKOID) int

func (*PKOID) Equals added in v0.0.15

func (this *PKOID) Equals(obj hmap.LinkedKey) bool

func (*PKOID) GetOid added in v0.0.15

func (this *PKOID) GetOid() int32

func (*PKOID) GetPCode added in v0.0.15

func (this *PKOID) GetPCode() int64

func (*PKOID) Hash added in v0.0.15

func (this *PKOID) Hash() uint

func (*PKOID) ToString added in v0.0.15

func (this *PKOID) ToString() string

type POID added in v0.0.15

type POID struct {
	PCode int64
	Oid   int32
}

func NewPOID added in v0.0.15

func NewPOID(pcode int64, oid int32) *POID

func (*POID) CompareTo added in v0.0.15

func (this *POID) CompareTo(n *POID) int

func (*POID) Equals added in v0.0.15

func (this *POID) Equals(obj hmap.LinkedKey) bool

func (*POID) GetOid added in v0.0.15

func (this *POID) GetOid() int32

func (*POID) GetPCode added in v0.0.15

func (this *POID) GetPCode() int64

func (*POID) Hash added in v0.0.15

func (this *POID) Hash() uint

func (*POID) ToString added in v0.0.15

func (this *POID) ToString() string

Directories

Path Synopsis
udp

Jump to

Keyboard shortcuts

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