record

package
v0.0.0-...-fe5d25b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 14 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 {
	AuthServiceClient pb.AuthServiceClient
	H                 db.DB
	Logger            *zap.Logger
	Validator         *validator.Validate
	pb.RecordServiceServer
}

func (*Server) CreateRecord

func (s *Server) CreateRecord(ctx context.Context, req *pb.CreateRecordRequest) (*pb.CreateRecordResponse, error)

func (*Server) GetRecord

func (*Server) ListRecords

func (*Server) RemoveRecord

func (s *Server) RemoveRecord(ctx context.Context, req *pb.DeleteRecordRequest) (*pb.DeleteRecordResponse, error)

func (*Server) UpdateRecord

func (s *Server) UpdateRecord(ctx context.Context, req *pb.UpdateRecordRequest) (*pb.UpdateRecordResponse, error)

Jump to

Keyboard shortcuts

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