mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-17 23:06:30 -05:00
update Build Interface
This commit is contained in:
parent
663e6028c3
commit
4549dba2d7
@ -1,7 +1,14 @@
|
|||||||
package cfgcommon
|
package cfgcommon
|
||||||
|
|
||||||
import "github.com/golang/protobuf/proto"
|
import (
|
||||||
|
"context"
|
||||||
|
"github.com/golang/protobuf/proto"
|
||||||
|
)
|
||||||
|
|
||||||
type Buildable interface {
|
type Buildable interface {
|
||||||
Build() (proto.Message, error)
|
Build() (proto.Message, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type BuildableV5 interface {
|
||||||
|
BuildV5(ctx context.Context) (proto.Message, error)
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user