Files
v2fly/infra/conf/cfgcommon/buildable.go
T

16 lines
225 B
Go
Raw Normal View History

2021-06-19 13:04:50 +01:00
package cfgcommon
2019-02-10 19:04:11 +01:00
2021-09-04 13:20:04 +01:00
import (
"context"
2021-10-28 18:34:19 +08:00
2021-09-04 13:20:04 +01:00
"github.com/golang/protobuf/proto"
)
2019-02-10 19:04:11 +01:00
type Buildable interface {
Build() (proto.Message, error)
}
2021-09-04 13:20:04 +01:00
type BuildableV5 interface {
BuildV5(ctx context.Context) (proto.Message, error)
}