Documentation ¶
Overview ¶
package journalupdateservice implements the Command Service/API as defined in journal-update.proto.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddEntryHandler ¶
type AddEntryHandler struct {
// contains filtered or unexported fields
}
AddEntryHandler provides a AddEntry handler.
func NewAddEntryHandler ¶
func NewAddEntryHandler(setupContext context.Context, env string, log *zap.Logger, db *sqlx.DB) (*AddEntryHandler, error)
NewAddEntryHandler prepares a AddEntry handler.
func (*AddEntryHandler) AddEntry ¶
func (h *AddEntryHandler) AddEntry(ctx context.Context, req *journalupdate.AddEntryRequest) (*journalupdate.AddEntryReply, error)
Click to show internal directories.
Click to hide internal directories.