1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-02 17:27:50 -04:00
v2fly/infra/conf/cfgcommon/buildable.go
2021-10-28 18:34:19 +08:00

16 lines
225 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)
}