# Packages
No description provided by the author
# Functions
NewMockGRPCRegisterFunc creates a new instance of MockGRPCRegisterFunc.
NewMockHTTPRegisterFunc creates a new instance of MockHTTPRegisterFunc.
NewMockWorkerTaskFunc creates a new instance of MockWorkerTaskFunc.
NewWithDB returns a WithDB object configured with the given config.
NewWithGRPC returns a WithGRPC object set to listen at the given address.
NewWithHTTP returns a WithHTTP object configured with the given address.
NewWithMetrics returns a WithMetrics object configured with address.
NewWithRDB returns a WithRDB object configured with the given config.
NewWithWorker returns a new worker object.
# Structs
MockGRPCRegisterFunc is an autogenerated mock type for the GRPCRegisterFunc type.
MockHTTPRegisterFunc is an autogenerated mock type for the HTTPRegisterFunc type.
MockWorkerTaskFunc is an autogenerated mock type for the WorkerTaskFunc type.
WithDB defines a struct that has capability to access the database.
WithGRPC defines the gRPC server capability.
WithHTTP adds an HTTP server capability to another struct.
WithMetrics implements a simple HTTP server that responds to the `/metrics` endpoint with exposed prometheus metrics.
WithRDB defines a struct that has capability to access the database.
WithWorker implements simple worker capabilities.
# Type aliases
GRPCRegisterFunc is used as arguments to the Start method.
HTTPRegisterFunc defines the functions that can be passed to Start in order to register new endpoints in the internal mux.
WorkerTaskFunc defines a function that starts a task.