server

package
v0.0.0-...-8b4c9e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2014 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(bindAddr string, initialView *view.View, useConsensusArg bool)

Types

type RegisterService

type RegisterService int

func (*RegisterService) GetCurrentView

func (r *RegisterService) GetCurrentView(value int, reply *view.View) error

func (*RegisterService) Read

func (r *RegisterService) Read(clientViewRef view.ViewRef, reply *Value) error

func (*RegisterService) Write

func (r *RegisterService) Write(value Value, reply *Value) error

type Value

type Value struct {
	Value     interface{}
	Timestamp int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL