コード例 #1
0
ファイル: codecs.go プロジェクト: haoqoo/vitess
// ServeAuthRPC serves bsonrpc codec with the default authentication enabled rpc
// server
func ServeAuthRPC() {
	rpcwrap.ServeAuthRPC(codecName, NewServerCodec)
}
コード例 #2
0
ファイル: wrapper.go プロジェクト: chinna1986/vitess
func ServeAuthRPC() {
	rpcwrap.ServeAuthRPC("json", oldjson.NewServerCodec)
}