models

package
v0.0.0-...-174de0b Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLogRequest

type CreateLogRequest struct {
	Raw string `json:"raw" validate:"required"`
}

type Log

type Log struct {
	ID        int       `db:"id"`
	Raw       string    `db:"raw"`
	CreatedAt time.Time `db:"created_at"`
}

type ReadLogResponse

type ReadLogResponse struct {
	ID        int       `json:"id"`
	Raw       string    `json:"raw"`
	CreatedAt time.Time `json:"createdAt"`
}

type WriteLogResponse

type WriteLogResponse struct {
	ID int64 `json:"id"`
}

Jump to

Keyboard shortcuts

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