gateway

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsRepo

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

func New

func New(r *repo.StatsRepo) *StatsRepo

func (*StatsRepo) Report

func (s *StatsRepo) Report(ctx context.Context, r *pb.ReportRequest) (*pb.StatsReport, error)

func (*StatsRepo) Update

func (s *StatsRepo) Update(ctx context.Context, r *pb.Stats) (*pb.StatsConfirmation, error)

Jump to

Keyboard shortcuts

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