package
0.0.0-20250218091114-e641932fdd01
Repository: https://github.com/educentr/go-activerecord.git
Documentation: pkg.go.dev
# Functions
AddClusterChecker регистрирует конфигурацию кластера в локальном пингере.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Констркуктор позволяющий проинициализировать кластер их конфигурации.
TODO - сделать статистику по используемым инстансам - прикрутить локальный пингер и исключать недоступные инстансы.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Конструктор который позволяет проинициализировать новый кластер.
Конструктор для создания нового кешера конфигов.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewMockConfig creates a new instance of MockConfig.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Любой из описанных мастеров.
No description provided by the author
No description provided by the author
Atomic increment.
Atomic logic values.
Atomic delete array value.
No description provided by the author
Atomic logic or.
Set field value.
Atomic splice array.
No description provided by the author
Atomic logic xor.
Любой из описанных реплик.
Любая реплика если есть, если нет то любой мастер.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BaseConnectionOptions - опции используемые для подключения.
No description provided by the author
Тип описывающий кластер.
No description provided by the author
No description provided by the author
Структура для кеширования полученных конфигураций.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Тип используемый для передачи набора значений по умолчанию для параметров.
MockConfig is an autogenerated mock type for the ConfigInterface type.
No description provided by the author
MockConfig_GetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBool'.
MockConfig_GetBoolIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBoolIfExists'.
MockConfig_GetDuration_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDuration'.
MockConfig_GetDurationIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDurationIfExists'.
MockConfig_GetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInt'.
MockConfig_GetIntIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIntIfExists'.
MockConfig_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'.
MockConfig_GetStringIfExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringIfExists'.
MockConfig_GetStrings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStrings'.
MockConfig_GetStruct_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStruct'.
Структура описывающая конкретный шард.
Структура описывающая инстанс в кластере.
Структура используется для описания конфигурации конктретного инстанса.
# Interfaces
No description provided by the author
No description provided by the author
go:generate mockery --name ConfigInterface --filename mock_config.go --structname MockConfig --with-expecter=true --inpackage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Интерфейс которому должен соответствовать билдер опций подключения к конретному инстансу.
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
Тип и константы для определения режима работы конкретного инстанса.
Тип и константы для выбора инстанса в шарде.