Documentation ¶
Index ¶
- func NewFakeConnector(schema interface{}) connectors.Connector
- func NewFakeInterceptor(schema interface{}, interceptFunc interceptor.Intercepter) connectors.Connector
- func NewFakePtrConnector(schema interface{}) connectors.Connector
- type FakeConnector
- type FakeInterceptor
- func (f FakeInterceptor) Id() string
- func (f FakeInterceptor) Intercepter() interceptor.Intercepter
- func (f *FakeInterceptor) Load(schema interface{}) (interface{}, error)
- func (f FakeInterceptor) Name() string
- func (f FakeInterceptor) Schema() interface{}
- func (f *FakeInterceptor) SetInterceptFunc(interceptFunc interceptor.Intercepter)
- func (f *FakeInterceptor) SetSchema(schema interface{})
- func (f FakeInterceptor) Tags() []string
- type FakePtrConnector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFakeConnector ¶
func NewFakeConnector(schema interface{}) connectors.Connector
func NewFakeInterceptor ¶
func NewFakeInterceptor(schema interface{}, interceptFunc interceptor.Intercepter) connectors.Connector
func NewFakePtrConnector ¶
func NewFakePtrConnector(schema interface{}) connectors.Connector
Types ¶
type FakeConnector ¶
type FakeConnector struct {
// contains filtered or unexported fields
}
func (FakeConnector) Id ¶
func (f FakeConnector) Id() string
func (*FakeConnector) Load ¶
func (f *FakeConnector) Load(schema interface{}) (interface{}, error)
func (FakeConnector) Name ¶
func (f FakeConnector) Name() string
func (FakeConnector) Schema ¶
func (f FakeConnector) Schema() interface{}
func (*FakeConnector) SetSchema ¶
func (f *FakeConnector) SetSchema(schema interface{})
func (FakeConnector) Tags ¶
func (f FakeConnector) Tags() []string
type FakeInterceptor ¶
type FakeInterceptor struct {
// contains filtered or unexported fields
}
func (FakeInterceptor) Id ¶
func (f FakeInterceptor) Id() string
func (FakeInterceptor) Intercepter ¶
func (f FakeInterceptor) Intercepter() interceptor.Intercepter
func (*FakeInterceptor) Load ¶
func (f *FakeInterceptor) Load(schema interface{}) (interface{}, error)
func (FakeInterceptor) Name ¶
func (f FakeInterceptor) Name() string
func (FakeInterceptor) Schema ¶
func (f FakeInterceptor) Schema() interface{}
func (*FakeInterceptor) SetInterceptFunc ¶
func (f *FakeInterceptor) SetInterceptFunc(interceptFunc interceptor.Intercepter)
func (*FakeInterceptor) SetSchema ¶
func (f *FakeInterceptor) SetSchema(schema interface{})
func (FakeInterceptor) Tags ¶
func (f FakeInterceptor) Tags() []string
type FakePtrConnector ¶
type FakePtrConnector struct {
// contains filtered or unexported fields
}
func (FakePtrConnector) Id ¶
func (f FakePtrConnector) Id() string
func (*FakePtrConnector) Load ¶
func (f *FakePtrConnector) Load(schema interface{}) (interface{}, error)
func (FakePtrConnector) Name ¶
func (f FakePtrConnector) Name() string
func (FakePtrConnector) Schema ¶
func (f FakePtrConnector) Schema() interface{}
func (*FakePtrConnector) SetSchema ¶
func (f *FakePtrConnector) SetSchema(schema interface{})
func (FakePtrConnector) Tags ¶
func (f FakePtrConnector) Tags() []string
Click to show internal directories.
Click to hide internal directories.