entry

package
v0.0.0-...-b35f7d5 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckValidEntry

func CheckValidEntry(e models.Entry, salt string) error

func GetEntryServer

func GetEntryServer(salt string) *gin.Engine

Types

type EntryApi

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

func NewEntryApi

func NewEntryApi(dao persistence.EntryDAO, salt string) EntryApi

func (EntryApi) GetEntries

func (a EntryApi) GetEntries(context *gin.Context)

func (EntryApi) PostEntry

func (a EntryApi) PostEntry(context *gin.Context)

func (EntryApi) SetupRoutes

func (a EntryApi) SetupRoutes(router *gin.Engine)

Directories

Path Synopsis
rdb

Jump to

Keyboard shortcuts

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