Directories ¶
Path | Synopsis |
---|---|
Package cache is a package that unifies the definition of caching, supporting both redis and local caching.
|
Package cache is a package that unifies the definition of caching, supporting both redis and local caching. |
Package config is a package that parses configuration files into structures, and supports parsing yaml, json and toml files., code generated by https://github.com/zhufuyi/sponge.
|
Package config is a package that parses configuration files into structures, and supports parsing yaml, json and toml files., code generated by https://github.com/zhufuyi/sponge. |
Package dao is the data access object, the code for database operation is unified here.
|
Package dao is the data access object, the code for database operation is unified here. |
Package ecode is the package that unifies the definition of http error codes or grpc error codes here.
|
Package ecode is the package that unifies the definition of http error codes or grpc error codes here. |
Package handler is a package of http request processing business logic.
|
Package handler is a package of http request processing business logic. |
Package model is the initial database driver and define the data structures corresponding to the tables.
|
Package model is the initial database driver and define the data structures corresponding to the tables. |
Package routers is a package dedicated to registering routes, and supports both manual route registration and automatic route registration.
|
Package routers is a package dedicated to registering routes, and supports both manual route registration and automatic route registration. |
Package rpcclient is the rpc client package, used to connect to grpc server, rich plugin support by default, such as service discovery, load balancing, link tracking and so on.
|
Package rpcclient is the rpc client package, used to connect to grpc server, rich plugin support by default, such as service discovery, load balancing, link tracking and so on. |
Package server is a package that holds the http or grpc service.
|
Package server is a package that holds the http or grpc service. |
Package service A grpc server-side or client-side package that handles business logic.
|
Package service A grpc server-side or client-side package that handles business logic. |
Package types define the structure of request parameters and respond results in this package
|
Package types define the structure of request parameters and respond results in this package |
Click to show internal directories.
Click to hide internal directories.