Directories
¶
Path | Synopsis |
---|---|
Package app is the logical main body of the program.
|
Package app is the logical main body of the program. |
cliflags
Package cliflags manages all command line flags for the app.
|
Package cliflags manages all command line flags for the app. |
config
Package config manages all app-level configs.
|
Package config manages all app-level configs. |
gracefulshutdown
Package gracefulshutdown implements a simple library for enabling app-level graceful shutdown on receiving shutdown OS signals like SIGTERM and SIGINT.
|
Package gracefulshutdown implements a simple library for enabling app-level graceful shutdown on receiving shutdown OS signals like SIGTERM and SIGINT. |
Package grpcserver implements a pluggable library for gRPC servers.
|
Package grpcserver implements a pluggable library for gRPC servers. |
pkg
|
|
err
Package err implements a library for the app to handle the representation of errors to end users.
|
Package err implements a library for the app to handle the representation of errors to end users. |
log
Package log provides a simple encapsulation of the logging library "go.uber.org/zap".
|
Package log provides a simple encapsulation of the logging library "go.uber.org/zap". |
util
Package util provides utility functions.
|
Package util provides utility functions. |
resource
|
|
v1/model
Package model defines data models used in the app
|
Package model defines data models used in the app |
v1/service
Package service is a generated GoMock package.
|
Package service is a generated GoMock package. |
v1/store
Package store provides low-level interfaces for data storage operations.
|
Package store provides low-level interfaces for data storage operations. |
v1/store/mysql
Package mysql provides MySQL-specific implementations of interface store.Router
|
Package mysql provides MySQL-specific implementations of interface store.Router |
v1/store/mysql/timer
Package timer provides an implementation to interface store.TimerStore for MySQL operations of RESTful resource Timer.
|
Package timer provides an implementation to interface store.TimerStore for MySQL operations of RESTful resource Timer. |
Package restserver implements a pluggable library for REST servers.
|
Package restserver implements a pluggable library for REST servers. |
controller/v1/timer
Package timer provides an interface of HTTP controller for RESTful resource Timer as well as an implementation.
|
Package timer provides an interface of HTTP controller for RESTful resource Timer as well as an implementation. |
middleware
Package middleware provides middlewares for REST server.
|
Package middleware provides middlewares for REST server. |
response
Package response provides a uniformed interface for writing HTTP responses.
|
Package response provides a uniformed interface for writing HTTP responses. |
Click to show internal directories.
Click to hide internal directories.