1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 01:27:03 -05:00

update Build Interface

This commit is contained in:
Shelikhoo 2021-09-04 13:20:04 +01:00
parent 663e6028c3
commit 4549dba2d7
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

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