dcrd/internal/rpcserver/doc.go
Ryan Staudt c6881b3288 rpcserver: Move to internal.
This moves rpcserver from the main module to a standalone internal
package.

Overview of the major changes:

- Move the following files from the main module -> internal/rpcserver:
  - rpcserver.go
  - rpcserver_test.go
  - rpcserverhandlers_test.go
  - rpcserverhelp.go
  - rpcserverhelp_test.go
  - rpcwebsocket.go
- Update the README.md and doc.go files
- Update all import paths in the repository accordingly
- Update `testDataPath` in rpcserverhandlers_test.go
- Update all `rpcsLog` references to `log`
- Define the following convenience functions and vars in rpcserver.go:
    - `normalizeAddress`
    - `directionString`
    - `zeroHash`
2020-07-24 23:29:59 -05:00

10 lines
291 B
Go

// Copyright (c) 2019 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
/*
Package rpcserver includes all RPC server interfaces, types, and pieces of code
pertaining to implementing the RPC server.
*/
package rpcserver