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
2021-09-04 13:20:04 +01:00

15 lines
224 B
Go

package cfgcommon
import (
"context"
"github.com/golang/protobuf/proto"
)
type Buildable interface {
Build() (proto.Message, error)
}
type BuildableV5 interface {
BuildV5(ctx context.Context) (proto.Message, error)
}