service

package
v0.0.0-...-c39517e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeServerAssignmentService

func NewFakeServerAssignmentService(ctx context.Context, frontendTarget string) pb.AssignmentServiceServer

NewFakeServerAssignmentService returns a AssignmentServiceServer that makes fake assignments

func NewFakeServerAssignmentServiceWithClient

func NewFakeServerAssignmentServiceWithClient(ctx context.Context, frontendClient pb.FrontendServiceClient) pb.AssignmentServiceServer

NewFakeServerAssignmentServiceWithClient returns a AssignmentServiceServer that makes fake assignments

Types

type FakeServerAssignmentService

type FakeServerAssignmentService struct {
	pb.UnimplementedAssignmentServiceServer
	// contains filtered or unexported fields
}

FakeServerAssignmentService conforms to the AssignmentServiceServer interface

func (*FakeServerAssignmentService) MakeAssignment

func (s *FakeServerAssignmentService) MakeAssignment(_ context.Context, match *pb.Match) (*pb.Assignment, error)

MakeAssignment returns a fake assignment

Jump to

Keyboard shortcuts

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