mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-06 18:28:00 -05:00
15 lines
224 B
Go
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)
|
|
}
|