mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-12-02 11:26:36 +00:00
23 lines
475 B
Go
23 lines
475 B
Go
|
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) String() string {
|
||
|
return deprecated.Note(n).String()
|
||
|
}
|