Documentation
¶
Index ¶
- type ConnectionLogger
- type FakeConnectionLogger
- func (m *FakeConnectionLogger) ConnectionLogs() []database.UpsertConnectionLogParams
- func (m *FakeConnectionLogger) Contains(t testing.TB, expected database.UpsertConnectionLogParams) bool
- func (m *FakeConnectionLogger) Reset()
- func (m *FakeConnectionLogger) Upsert(_ context.Context, clog database.UpsertConnectionLogParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionLogger ¶
type ConnectionLogger interface {
Upsert(ctx context.Context, clog database.UpsertConnectionLogParams) error
}
func NewNop ¶
func NewNop() ConnectionLogger
type FakeConnectionLogger ¶
type FakeConnectionLogger struct {
// contains filtered or unexported fields
}
func NewFake ¶
func NewFake() *FakeConnectionLogger
func (*FakeConnectionLogger) ConnectionLogs ¶
func (m *FakeConnectionLogger) ConnectionLogs() []database.UpsertConnectionLogParams
func (*FakeConnectionLogger) Contains ¶
func (m *FakeConnectionLogger) Contains(t testing.TB, expected database.UpsertConnectionLogParams) bool
func (*FakeConnectionLogger) Reset ¶
func (m *FakeConnectionLogger) Reset()
func (*FakeConnectionLogger) Upsert ¶
func (m *FakeConnectionLogger) Upsert(_ context.Context, clog database.UpsertConnectionLogParams) error
Click to show internal directories.
Click to hide internal directories.