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

15 lines
224 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"
"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)
}