dcrd/internal/rpcserver
Dave Collins 1e44e8674b
rpcserver: Forward HTTP server err msgs to logger.
The standard library HTTP server writes all errors using standard error
by default when and error logger is not configured.  Currently, an error
logger is not being set which means the errors completely bypass the
logging system.

Since the required error logger must be from the standard library
logging package and a custom logger is used instead, this creates a shim
to forward the log messages from a standard lib logger to the RPC server
logger and configures the HTTP server to use it accordingly.
2020-09-25 12:40:02 -05:00
..
testdata rpcserver: Add handleSearchRawTransactions tests. 2020-08-29 22:03:04 -05:00
doc.go rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
interface.go rpcserver: Add support for gettreasuryspendvotes 2020-09-24 11:46:21 -05:00
log.go rpcserver: Add logging to internal package. 2019-10-24 21:37:27 -05:00
README.md rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
rpcserver_test.go rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
rpcserver.go rpcserver: Forward HTTP server err msgs to logger. 2020-09-25 12:40:02 -05:00
rpcserverhandlers_test.go rpcserver: Add support for gettreasuryspendvotes 2020-09-24 11:46:21 -05:00
rpcserverhelp_test.go rpcserver: Move to internal. 2020-07-24 23:29:59 -05:00
rpcserverhelp.go rpcserver: Add support for gettreasuryspendvotes 2020-09-24 11:46:21 -05:00
rpcwebsocket.go multi: Add decentralized treasury support. 2020-09-21 12:15:31 -05:00
treasury_test.go rpcserver: Verify tbase values in treasury rpctest 2020-09-24 12:19:12 -05:00

rpcserver

Build Status ISC License Doc

Overview

Package rpcserver includes all RPC server interfaces, types, and pieces of code pertaining to implementing the RPC server.

License

Package rpcserver is licensed under the copyfree ISC License.