Documentation
¶
Index ¶
Constants ¶
View Source
const GRPCMaxMessageBytes = 64 << 20
Variables ¶
View Source
var ErrIntOverflow = errors.New("int64 に変換できません(オーバーフロー)")
Functions ¶
func GRPCDialOptions ¶
func GRPCDialOptions() []grpc.DialOption
GRPCDialOptions returns the common insecure dial options used by node-local and node-to-node traffic.
func GRPCServerOptions ¶
func GRPCServerOptions() []grpc.ServerOption
GRPCServerOptions keeps Raft replication and the public/internal APIs aligned on the same message-size budget.
func Uint64ToInt ¶
func WithStacks ¶
Types ¶
type CleanupStack ¶
type CleanupStack struct {
// contains filtered or unexported fields
}
CleanupStack stores cleanup callbacks and runs them in LIFO order.
func (*CleanupStack) Release ¶
func (c *CleanupStack) Release()
Release discards all registered callbacks.
func (*CleanupStack) Run ¶
func (c *CleanupStack) Run()
Run executes registered callbacks in reverse registration order.
Click to show internal directories.
Click to hide internal directories.