1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-11-23 12:02:58 -05:00
Files
v2fly/infra/conf/cfgcommon/buildable.go

16 lines
225 B
Go
Raw Normal View History

2021-06-19 13:04:50 +01:00
package cfgcommon
2019-02-10 19:04:11 +01:00
2021-09-04 13:20:04 +01:00
import (
"context"
2021-10-28 18:34:19 +08:00
2021-09-04 13:20:04 +01:00
"github.com/golang/protobuf/proto"
)
2019-02-10 19:04:11 +01:00
type Buildable interface {
Build() (proto.Message, error)
}
2021-09-04 13:20:04 +01:00
type BuildableV5 interface {
BuildV5(ctx context.Context) (proto.Message, error)
}