sync

package
v0.0.0-...-dc6f9f8 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoMakeRing

type GoMakeRing struct {
	Cap int64 `ko:"name=cap,monadic"`
}

func (*GoMakeRing) Play

func (g *GoMakeRing) Play(ctx *runtime.Context) GoRingConn

type GoRingConn

type GoRingConn interface {
	GoRingConn()
	Lease() int64 // returns the sequential number of the lease
}

type GoRingLease

type GoRingLease struct {
	Conn GoRingConn `ko:"name=conn,monadic"`
}

func (*GoRingLease) Play

func (g *GoRingLease) Play(ctx *runtime.Context) int64

Jump to

Keyboard shortcuts

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