grpcservers

package
v0.0.0-...-226c3a4 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2020 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CreateInitServersFn

func CreateInitServersFn(
	js *JudgementsService,
) grpc.InitServers

Types

type JudgementsService

type JudgementsService struct {
	// contains filtered or unexported fields
}

func CreateJudgementsServer

func CreateJudgementsServer(cf string, service services.JudgementsService) (*JudgementsService, error)

func NewJudgementsServer

func NewJudgementsServer(logger *zap.Logger, js services.JudgementsService) (*JudgementsService, error)

func (*JudgementsService) CreateJudgement

func (*JudgementsService) ListJudgements

func (s *JudgementsService) ListJudgements(ctx context.Context, request *proto.ListRequest) (*proto.ListResponse, error)

func (*JudgementsService) PullJudgement

func (*JudgementsService) PushJudgement

Jump to

Keyboard shortcuts

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