package
2.12.0+incompatible
Repository: https://github.com/adguardteam/adguarddns.git
Documentation: pkg.go.dev

# Functions

NewBillStat creates a new billing statistics uploader.
No description provided by the author
NewProfileStorage returns a new [ProfileStorage] that retrieves information from the business logic backend.
NewRateLimiter creates a new properly initialized rate limiter.
No description provided by the author
NewRemoteKV returns a new [RemoteKV] that retrieves information from the business logic backend.
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
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
gRPC errors of [GRPCError] type.
gRPC errors of [GRPCError] type.
gRPC errors of [GRPCError] type.
gRPC errors of [GRPCError] type.
gRPC errors of [GRPCError] type.
gRPC errors of [GRPCError] type.
No description provided by the author
Remote key-value storage operation names for [RemoteKVOp].
Remote key-value storage operation names for [RemoteKVOp].
No description provided by the author
No description provided by the author

# Variables

Enum value maps for DeviceType.
Enum value maps for DeviceType.
DNSService_ServiceDesc is the grpc.ServiceDesc for DNSService service.
No description provided by the author
RateLimitService_ServiceDesc is the grpc.ServiceDesc for RateLimitService service.
RemoteKVService_ServiceDesc is the grpc.ServiceDesc for RemoteKVService service.

# 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
No description provided by the author
BillStat is the implementation of the [billstat.Uploader] interface that uploads the billing statistics to the business logic backend.
BillStatConfig is the configuration structure for the business logic backend billing statistics uploader.
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
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
EmptyGRPCMetrics is the implementation of the [GRPCMetrics] interface that does nothing.
EmptyProfileDBMetrics is the implementation of the [ProfileDBMetrics] interface that does nothing.
EmptyRemoteKVMetrics is the implementation of the [RemoteKVMetrics] interface that does nothing.
No description provided by the author
ProfileStorage is the implementation of the [profiledb.Storage] interface that retrieves the profile and device information from the business logic backend.
ProfileStorageConfig is the configuration for the business logic backend profile storage.
No description provided by the author
RateLimiter is the implementation of the [service.Refresher] interface that retrieves the rate limit settings from the business logic backend.
RateLimiterConfig is the configuration structure for the business logic backend rate limiter.
No description provided by the author
No description provided by the author
No description provided by the author
RemoteKV is the implementation of the [remotekv.Interface] interface that uses the business logic backend as the key-value storage.
RemoteKVConfig is the configuration for the business logic backend key-value storage.
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
UnimplementedDNSServiceServer must be embedded to have forward compatible implementations.
UnimplementedRateLimitServiceServer must be embedded to have forward compatible implementations.
UnimplementedRemoteKVServiceServer must be embedded to have forward compatible implementations.
No description provided by the author

# Interfaces

DNSServiceClient is the client API for DNSService service.
DNSServiceServer is the server API for DNSService service.
GRPCMetrics is an interface that is used for the collection of the protobuf communication statistics.
ProfileDBMetrics is an interface that is used for the collection of the profile database statistics.
RateLimitServiceClient is the client API for RateLimitService service.
RateLimitServiceServer is the server API for RateLimitService service.
RemoteKVMetrics is an interface that is used for the collection of the remote key-value storage statistics.
RemoteKVServiceClient is the client API for RemoteKVService service.
RemoteKVServiceServer is the server API for RemoteKVService service.
UnsafeDNSServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeRateLimitServiceServer may be embedded to opt out of forward compatibility for this service.
UnsafeRemoteKVServiceServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author
GRPCError is a type alias for string that contains the gRPC error type.
RemoteKVOp is the type alias for string that contains remote key-value storage operation name.