Add xhttp transport

This commit is contained in:
Sergei Maklagin
2025-06-08 19:35:59 +03:00
parent 5c911c97d8
commit 0238c54261
50 changed files with 4691 additions and 7 deletions

View File

@@ -0,0 +1,13 @@
package stats
// Counter is the interface for stats counters.
//
// xray:api:stable
type Counter interface {
// Value is the current value of the counter.
Value() int64
// Set sets a new value to the counter, and returns the previous one.
Set(int64) int64
// Add adds a value to the current counter value, and returns the previous value.
Add(int64) int64
}