1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-02 09:44:20 -04:00
v2fly/infra/conf/cfgcommon/buildable.go

15 lines
224 B
Go
Raw Normal View History

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