github.com/imannamdari/v2ray-core/v5@v5.0.5/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 }