MCPcopy Create free account
hub / github.com/astercloud/aster / BaseInterface

Struct BaseInterface

pkg/asteros/interface.go:48–51  ·  view source on GitHub ↗

BaseInterface 基础 Interface 实现 提供默认的空实现,子类可以选择性覆盖

Source from the content-addressed store, hash-verified

46// BaseInterface 基础 Interface 实现
47// 提供默认的空实现,子类可以选择性覆盖
48type BaseInterface struct {
49 name string
50 typ InterfaceType
51}
52
53// NewBaseInterface 创建基础 Interface
54func NewBaseInterface(name string, typ InterfaceType) *BaseInterface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected