journalupdateservice

package
v0.0.0-...-fe69749 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: MIT Imports: 8 Imported by: 0

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

func New

func New(setupContext context.Context, env string, log *zap.Logger, journalDB *sqlx.DB) (*journalUpdateService, error)

New prepares a new journalUpdateService.

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

Jump to

Keyboard shortcuts

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