github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/infra/conf/cfgcommon/buildable.go (about) 1 package cfgcommon 2 3 import ( 4 "context" 5 6 "github.com/golang/protobuf/proto" 7 ) 8 9 type Buildable interface { 10 Build() (proto.Message, error) 11 } 12 13 type BuildableV5 interface { 14 BuildV5(ctx context.Context) (proto.Message, error) 15 }