//
pkg.gl
Category
github.com/powerman/go-monolith-example
ms
example
internal
srv
jsonrpc2
package
0.5.2
Repository:
https://github.com/powerman/go-monolith-example.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
15
Dependents
1
Files
194 SLOC
#
Functions
InitMetrics
InitMetrics must be called once before using this package.
NewServer
NewServer creates and returns HTTP handler with JSON-RPC 2.0 service on given cfg.Pattern.
#
Structs
Config
Config contains configuration for JSON-RPC 2.0 service.
Server
Server implements JSON-RPC 2.0 method handlers.
#
Type aliases
Ctx
Ctx is a synonym for convenience.