grpc

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingKeySignPairs = errors.New("missing key-signature pairs")

ErrMissingKeySignPairs is returned by functions that expect a non-empty SignKeyPair slice, but received empty.

Functions

func VerifyRequestWithSignatures

func VerifyRequestWithSignatures(req service.RequestVerifyData) error

VerifyRequestWithSignatures checks if request has signatures and all of them are valid.

Returns ErrMissingKeySignPairs if request does not have signatures. Otherwise, behaves like service.VerifyRequestData.

Types

type Server

type Server = grpc.Server

type Service

type Service interface {
	Name() string
	Register(*Server)
}

Service interface

Jump to

Keyboard shortcuts

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