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