mirror of
https://github.com/YGGverse/Pulsar.git
synced 2026-03-31 09:45:32 +00:00
init nps server features
This commit is contained in:
parent
5b4564d446
commit
2410cc7bfc
3 changed files with 263 additions and 0 deletions
|
|
@ -5,6 +5,57 @@
|
|||
"username":null,
|
||||
"password":null
|
||||
},
|
||||
"server":
|
||||
{
|
||||
"nps":
|
||||
{
|
||||
"host":"127.0.0.1",
|
||||
"port":1900,
|
||||
"event":
|
||||
{
|
||||
"init":
|
||||
{
|
||||
"debug":
|
||||
{
|
||||
"enabled":true,
|
||||
"template":"[{time}] [init] NPS server at {host}:{port}"
|
||||
}
|
||||
},
|
||||
"open":
|
||||
{
|
||||
"debug":
|
||||
{
|
||||
"enabled":true,
|
||||
"template":"[{time}] [open] connection from {host}#{crid}"
|
||||
}
|
||||
},
|
||||
"message":
|
||||
{
|
||||
"debug":
|
||||
{
|
||||
"enabled":true,
|
||||
"template":"[{time}] [message] connection from {host}#{crid} request: {path}"
|
||||
}
|
||||
},
|
||||
"close":
|
||||
{
|
||||
"debug":
|
||||
{
|
||||
"enabled":true,
|
||||
"template":"[{time}] [close] connection from {host}#{crid}"
|
||||
}
|
||||
},
|
||||
"error":
|
||||
{
|
||||
"debug":
|
||||
{
|
||||
"enabled":true,
|
||||
"template":"[{time}] [error] connection from {host}#{crid} reason: {info}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"crawler":
|
||||
{
|
||||
"channel":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue