github.com/imannamdari/v2ray-core/v5@v5.0.5/annotations.go (about) 1 package core 2 3 // Annotation is a concept in V2Ray. This struct is only for documentation. It is not used anywhere. 4 // Annotations begin with "v2ray:" in comment, as metadata of functions or types. 5 type Annotation struct { 6 // API is for types or functions that can be used in other libs. Possible values are: 7 // 8 // * v2ray:api:beta for types or functions that are ready for use, but maybe changed in the future. 9 // * v2ray:api:stable for types or functions with guarantee of backward compatibility. 10 // * v2ray:api:deprecated for types or functions that should not be used anymore. 11 // 12 // Types or functions without api annotation should not be used externally. 13 API string 14 }