SyncGroup

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRequest

func NewRequest(group, member string, generation int32, assignments []Assignment) *api.Request

Types

type Assignment

type Assignment struct {
	MemberId   string
	Assignment []byte
}

type Request

type Request struct {
	GroupId      string
	GenerationId int32
	MemberId     string
	Assignments  []Assignment
}

type Response

type Response struct {
	ThrottleTimeMs int32
	ErrorCode      int16
	Assignment     []byte
}

Jump to

Keyboard shortcuts

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