Ejemplo n.º 1
0
// ServeAuthRPC serves bsonrpc codec with the default authentication enabled rpc
// server
func ServeAuthRPC() {
	rpcwrap.ServeAuthRPC(codecName, NewServerCodec)
}
Ejemplo n.º 2
0
func ServeAuthRPC() {
	rpcwrap.ServeAuthRPC("json", oldjson.NewServerCodec)
}