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: 3 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 {
	Generate endpoint.Endpoint
}

Endpoints holds all Go kit endpoints for the service.

func MakeEndpoints

func MakeEndpoints(s qr.Service) Endpoints

MakeEndpoints initializes all Go kit endpoints for the service.

type GenerateRequest

type GenerateRequest struct {
	Data  string
	Level qr.RecoveryLevel
	Size  int
}

GenerateRequest holds the request parameters for the Generate method.

type GenerateResponse

type GenerateResponse struct {
	QR  []byte
	Err error
}

GenerateResponse holds the response values for the Generate method.

func (GenerateResponse) Failed

func (r GenerateResponse) 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