transport

package
v0.0.0-...-24d9d29 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2020 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeCredential

func DecodeCredential(r protobuf.Credential) (c types.Credential, err error)

func EncodeIdRequest

func EncodeIdRequest(r endpoints.IDRequest) protobuf.IdRequest

func EncodeSourceHostRequest

func EncodeSourceHostRequest(request endpoints.SourceHostRequest) *protobuf.SourceHostRequest

Types

type GRPCServer

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

func NewGRPCServer

func NewGRPCServer(svc types.Service, logger log.Logger) GRPCServer

func (GRPCServer) Create

func (GRPCServer) Delete

func (GRPCServer) Get

func (GRPCServer) GetAllMetadata

func (GRPCServer) Update

type ProtobufMetadataStream

type ProtobufMetadataStream struct {
	Metadata <-chan protobuf.Metadata
	Errors   chan error
}

Jump to

Keyboard shortcuts

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