1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-30 02:55:23 +00:00
v2fly/infra/conf/cfgcommon/buildable.go

16 lines
225 B
Go
Raw Normal View History

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