Restructure repo around sing-box-rr package layout

This commit is contained in:
2026-05-14 10:04:14 +03:00
parent 3bd162ed6f
commit 473952f620
1388 changed files with 1092 additions and 137 deletions
@@ -0,0 +1,33 @@
package libbox
import (
"github.com/sagernet/sing-box/experimental/deprecated"
)
var _ = deprecated.Note(DeprecatedNote{})
type DeprecatedNote struct {
Name string
Description string
DeprecatedVersion string
ScheduledVersion string
EnvName string
MigrationLink string
}
func (n DeprecatedNote) Impending() bool {
return deprecated.Note(n).Impending()
}
func (n DeprecatedNote) Message() string {
return deprecated.Note(n).Message()
}
func (n DeprecatedNote) MessageWithLink() string {
return deprecated.Note(n).MessageWithLink()
}
type DeprecatedNoteIterator interface {
HasNext() bool
Next() *DeprecatedNote
}