package
0.0.0-20230904122438-daa3bd964988
Repository: https://github.com/dtm-labs/dtm-examples.git
Documentation: pkg.go.dev
# Functions
DbGet get db connection for specified conf.
GetGinApp init and return gin.
GetNextTime gets next time from second.
GetSQLDir get sql scripts dir, used in test.
MustGetwd must version of os.Getwd.
RecoverPanic execs recovery operation.
RunSQLScript 1.
WrapHandler used by examples.
WrapHandler2 wrap a function to be the handler of gin request used by dtmsvr.
# Constants
DefaultGrpcServer default url for grpc server.
DefaultHTTPServer default url for http server.
DefaultJrpcServer default url for http json-rpc server.