rpc/client/constants.go
crusader d9973215da ing
2017-11-01 18:01:23 +09:00

18 lines
352 B
Go

package client
import (
"reflect"
"time"
)
const (
// DefaultRequestTimeout is the default timeout for client request.
DefaultRequestTimeout = 20 * time.Second
// DefaultPendingMessages is the default number of pending messages
// handled by Client and Server.
DefaultPendingMessages = 32 * 1024
)
var uint64Type = reflect.TypeOf(uint64(0))