transport

package
v0.0.0-...-a52efcf Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

type Endpoints struct {
	Unlock endpoint.Endpoint
}

Endpoints holds all Go kit endpoints for the service.

func MakeEndpoints

func MakeEndpoints(s device.Service) Endpoints

MakeEndpoints initializes all Go kit endpoints for the service.

type UnlockRequest

type UnlockRequest struct {
	EventID  uuid.UUID
	DeviceID uuid.UUID
	Code     string
}

UnlockRequest holds the request parameters for the Unlock method.

type UnlockResponse

type UnlockResponse struct {
	EventCaption  string
	DeviceCaption string
	Err           error
}

UnlockResponse holds the response values for the Unlock method.

func (UnlockResponse) Failed

func (r UnlockResponse) Failed() error

Failed implements Failer

Directories

Path Synopsis
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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