Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Err_ProvidedCachingTypeIsNil = errors.New("provided caching type is nil")
Functions ¶
This section is empty.
Types ¶
type CachingType ¶
type CachingType string
const ( RedisCaching CachingType = "redis" MemoryCaching CachingType = "memory" )
type QueryClient ¶
type QueryClient interface { Query( ctx context.Context, queryFunction QueryFn, result interface{}, options *Options, ) error Mutate( ctx context.Context, mutationFunction QueryFn, result interface{}, options *Options, ) error }
func NewQueryClient ¶
func NewQueryClient( memCache *cache.Cache, redisCache *redis.Client, ) QueryClient
Click to show internal directories.
Click to hide internal directories.