package
0.1.6
Repository: https://github.com/abetterchoice/go-sdk.git
Documentation: pkg.go.dev

# Functions

IsHitDMP TODO.
NewDMPClient Create a new dmp client.
NewMockClient creates a new mock instance.
NewTABCacheClient create tab server client.
RegisterCacheClient register client.
RegisterDMPClient Register the dmp client.
WithEnvType Setting up the environment.
WithEnvTypeOption Setting up the environment.
WithHTTPClient Set http client, customize timeout and proxy.

# Constants

KeyAK TODO.
KeyES TODO.
KeyET TODO.
KeyToken TODO.

# Variables

CacheClient Default background cache service client, Init defaults to using tab formal environment background cache service.
DC Abbreviation of dmpClient, the default dmp client.

# Structs

MockClient is a mock of Client interface.
MockClientMockRecorder is the mock recorder for MockClient.

# Interfaces

Client The cache service client abstract class can be used to customize the background cache service by implementing client go:generate mockgen -source=cache_server.go -package=client -destination cache_server_mock.go.
DMPClient dmp client definition, as an abstract class, shielding the underlying specific implementation.

# Type aliases

DMPOption Create a new option for dmp client, modify the backend address, request protocol, etc.
Option client option.