trackmsggrp

package
v0.0.0-...-57b3f38 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package trackmsggrp maintains the group of handlers for track message access.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	TrackMsgCore *trackmsg.Core
	// contains filtered or unexported fields
}

func New

func New(logger *slog.Logger, db *sqlx.DB) *Handler

New constructs a handlers for a route access.

func (*Handler) Retrieve

func (h *Handler) Retrieve(w http.ResponseWriter, r *http.Request)

Retrieve retrieve a track message.

func (*Handler) Update

func (h *Handler) Update(w http.ResponseWriter, r *http.Request)

Update updates a track message.

type ResponseTrackMsg

type ResponseTrackMsg struct {
	ID         string `json:"message_id"`
	StatusCode int    `json:"status_code"`
}

Jump to

Keyboard shortcuts

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