protov1

package
v0.0.0-...-db0ecef Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(ctx context.Context, gRPCAddr, gRPCGWAddr string, logger *zap.Logger, db *sql.DB) (*Server, error)

func (*Server) CreateRecord

func (s *Server) CreateRecord(ctx context.Context, req *dogfoodpb.CreateRecordRequest) (*dogfoodpb.Record, error)

func (*Server) ListRecords

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

func (*Server) Stop

func (s *Server) Stop()

Directories

Path Synopsis
Package dogfoodpb is a reverse proxy.
Package dogfoodpb is a reverse proxy.
Package healthcheckpb is a reverse proxy.
Package healthcheckpb is a reverse proxy.

Jump to

Keyboard shortcuts

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