# Functions
DecodeGRPCRuntimeKey decode runtime key from ctx.
DecodeHTTPRuntimeKey decode http runtime.
DefaultLogConfig default log middleware setting.
DiAllFields di service pool.
DiFree di instance.
DiSelfCheck ()map[reflect.Type]interface{} {}.
GetAutoFreeTags get autofree tags from struct default true.
GetAutowiredTags get autowired tags from struct default false.
GetResourceTags get resource tags.
MockContext used for unittest , don't use in production.
New creates and returns a new context pool.
NewContext new contedt.
NewControllerPool new pool with init map.
NewDBLogger new db logger.
NewInstancePool new pool with init map.
NewLogLogger new log logger.
NewRequestMapping request mapping @funcName if funcname is "" , trinitygoo will use the default http method name to find the method e.g : http method "GET" ==> find method "GET".
TransactionTag get the transaction tag from struct.
# Structs
AppMock for application mock.
ContextImpl Context impl.
ContextMock mock impl for Context.
ContextPool is the context pool, it's used inside router and the framework by itself.
ControllerPool service pool if grpc string is the full method of method if http os the GET@/ping/:id need to filter controllerFuncMap to filter funcname.
DBLogger db logger.
InstancePool service pool.
LogConfig middleware config.
RequestMap request map to register request.
# Interfaces
Application global app interface.
Context record all thing inside one request.
Logger for log middleware.