journal

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.JournalServiceServer
}

func (*Server) CreateJournal

func (s *Server) CreateJournal(ctx context.Context, req *pb.CreateJournalRequest) (*pb.CreateJournalResponse, error)

func (*Server) GetJournal

func (*Server) ListJournals

func (*Server) RemoveJournal

func (s *Server) RemoveJournal(ctx context.Context, req *pb.DeleteJournalRequest) (*pb.DeleteJournalResponse, error)

func (*Server) UpdateJournal

func (s *Server) UpdateJournal(ctx context.Context, req *pb.UpdateJournalRequest) (*pb.UpdateJournalResponse, error)

Jump to

Keyboard shortcuts

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