Versions in this module Expand all Collapse all v0 v0.2.0 Nov 4, 2024 v0.1.0 Sep 9, 2024 Changes in this version + func New(configs Configs) *client + type Configs struct + DirPath string + type Health struct + Details map[string]any + Status string + type Log struct + Duration int64 + Key string + Type string + Value string + func (l *Log) PrettyPrint(writer io.Writer) + type Logger interface + Debug func(args ...any) + Debugf func(pattern string, args ...any) + Error func(args ...any) + Errorf func(patter string, args ...any) + Info func(args ...any) + Infof func(pattern string, args ...any) + type Metrics interface + NewHistogram func(name, desc string, buckets ...float64) + RecordHistogram func(ctx context.Context, name string, value float64, labels ...string) + type MockLogger struct + func NewMockLogger(ctrl *gomock.Controller) *MockLogger + func (m *MockLogger) Debug(args ...any) + func (m *MockLogger) Debugf(pattern string, args ...any) + func (m *MockLogger) EXPECT() *MockLoggerMockRecorder + func (m *MockLogger) Error(args ...any) + func (m *MockLogger) Errorf(patter string, args ...any) + func (m *MockLogger) Info(args ...any) + func (m *MockLogger) Infof(pattern string, args ...any) + type MockLoggerMockRecorder struct + func (mr *MockLoggerMockRecorder) Debug(args ...any) *gomock.Call + func (mr *MockLoggerMockRecorder) Debugf(pattern any, args ...any) *gomock.Call + func (mr *MockLoggerMockRecorder) Error(args ...any) *gomock.Call + func (mr *MockLoggerMockRecorder) Errorf(patter any, args ...any) *gomock.Call + func (mr *MockLoggerMockRecorder) Info(args ...any) *gomock.Call + func (mr *MockLoggerMockRecorder) Infof(pattern any, args ...any) *gomock.Call + type MockMetrics struct + func NewMockMetrics(ctrl *gomock.Controller) *MockMetrics + func (m *MockMetrics) EXPECT() *MockMetricsMockRecorder + func (m *MockMetrics) NewHistogram(name, desc string, buckets ...float64) + func (m *MockMetrics) RecordHistogram(ctx context.Context, name string, value float64, labels ...string) + type MockMetricsMockRecorder struct + func (mr *MockMetricsMockRecorder) NewHistogram(name, desc any, buckets ...any) *gomock.Call + func (mr *MockMetricsMockRecorder) RecordHistogram(ctx, name, value any, labels ...any) *gomock.Call