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:
parent
663e6028c3
commit
4549dba2d7
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user