services

package
v0.0.0-...-9bd2c4f Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: BSD-3-Clause Imports: 9 Imported by: 1

Documentation

Overview

Package services is a generated protocol buffer package.

It is generated from these files:

github.com/GoCollaborate/src/collaborator/services/rpc_services.proto

It has these top-level messages:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(payload *TaskPayload) (maps *map[int]*Task, err error)

func Encode

func Encode(maps *map[int]*Task) (payload *TaskPayload, err error)

func RegisterRPCServiceServer

func RegisterRPCServiceServer(s *grpc.Server, srv RPCServiceServer)

Types

type RPCServiceClient

type RPCServiceClient interface {
	Distribute(ctx context.Context, in *task.TaskPayload, opts ...grpc.CallOption) (*task.TaskPayload, error)
	Exchange(ctx context.Context, in *message.CardMessage, opts ...grpc.CallOption) (*message.CardMessage, error)
}

func NewRPCServiceClient

func NewRPCServiceClient(cc *grpc.ClientConn) RPCServiceClient

type RPCServiceServer

type RPCServiceServer interface {
	Distribute(context.Context, *task.TaskPayload) (*task.TaskPayload, error)
	Exchange(context.Context, *message.CardMessage) (*message.CardMessage, error)
}

Jump to

Keyboard shortcuts

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