package
0.1.327
Repository: https://github.com/fluffy-bunny/grpcdotnetgo.git
Documentation: pkg.go.dev

# Functions

AddScopedICache adds a type that implements ICache.
AddScopedICacheByFunc adds a type by a custom func.
AddScopedICacheByFuncWithMetadata adds a type by a custom func.
AddScopedICacheWithMetadata adds a type that implements ICache.
AddScopedIMemoryCache adds a type that implements IMemoryCache.
AddScopedIMemoryCacheByFunc adds a type by a custom func.
AddScopedIMemoryCacheByFuncWithMetadata adds a type by a custom func.
AddScopedIMemoryCacheWithMetadata adds a type that implements IMemoryCache.
AddSingletonICache adds a type that implements ICache.
AddSingletonICacheByFunc adds a type by a custom func.
AddSingletonICacheByFuncWithMetadata adds a type by a custom func.
AddSingletonICacheByObj adds a prebuilt obj.
AddSingletonICacheByObjWithMetadata adds a prebuilt obj.
AddSingletonICacheWithMetadata adds a type that implements ICache.
AddSingletonIMemoryCache adds a type that implements IMemoryCache.
AddSingletonIMemoryCacheByFunc adds a type by a custom func.
AddSingletonIMemoryCacheByFuncWithMetadata adds a type by a custom func.
AddSingletonIMemoryCacheByObj adds a prebuilt obj.
AddSingletonIMemoryCacheByObjWithMetadata adds a prebuilt obj.
AddSingletonIMemoryCacheWithMetadata adds a type that implements IMemoryCache.
AddTransientICache adds a type that implements ICache.
AddTransientICacheByFunc adds a type by a custom func.
AddTransientICacheByFuncWithMetadata adds a type by a custom func.
AddTransientICacheWithMetadata adds a type that implements ICache.
AddTransientIMemoryCache adds a type that implements IMemoryCache.
AddTransientIMemoryCacheByFunc adds a type by a custom func.
AddTransientIMemoryCacheByFuncWithMetadata adds a type by a custom func.
AddTransientIMemoryCacheWithMetadata adds a type that implements IMemoryCache.
GetICacheDefinition returns that last definition registered that this container can provide.
GetICacheDefinitions returns all definitions that this container can provide.
GetICacheFromContainer alternative to SafeGetICacheFromContainer but panics of object is not present.
GetIMemoryCacheDefinition returns that last definition registered that this container can provide.
GetIMemoryCacheDefinitions returns all definitions that this container can provide.
GetIMemoryCacheFromContainer alternative to SafeGetIMemoryCacheFromContainer but panics of object is not present.
GetManyICacheFromContainer alternative to SafeGetManyICacheFromContainer but panics of object is not present.
GetManyIMemoryCacheFromContainer alternative to SafeGetManyIMemoryCacheFromContainer but panics of object is not present.
RemoveAllICache removes all ICache from the DI.
RemoveAllIMemoryCache removes all IMemoryCache from the DI.
SafeGetICacheFromContainer trys to get the object by type, will not panic, returns nil and error.
SafeGetIMemoryCacheFromContainer trys to get the object by type, will not panic, returns nil and error.
SafeGetManyICacheFromContainer trys to get the object by type, will not panic, returns nil and error.
SafeGetManyIMemoryCacheFromContainer trys to get the object by type, will not panic, returns nil and error.

# Constants

FifteenMinutes 15 minutes.
FiveMinutes 5 minutes.
Forever Always exist.
HalfDay 12 hours(half of the day).
HalfHour half an hour.
OneDay 24 hours(1 day).
OneHour 1 hour.
OneMinutes 1 minutes.
OneWeek 7 day(one week).
Seconds1 1 second.
Seconds10 10 second.
Seconds15 15 second.
Seconds2 2 second.
Seconds20 20 second.
Seconds3 3 second.
Seconds30 30 second.
Seconds5 5 second.
Seconds6 6 second.
Seconds7 7 second.
Seconds8 8 second.
Seconds9 9 second.
TenMinutes 10 minutes.
ThreeDay 3 day.
ThreeHour 3 hours.
ThreeMinutes 3 minutes.
TwoDay 2 day.
TwoHour 2 hours.
TwoMinutes 2 minutes.

# Variables

ReflectTypeICache used when your service claims to implement ICache.
ReflectTypeIMemoryCache used when your service claims to implement IMemoryCache.

# Interfaces

No description provided by the author
No description provided by the author