api

package
v0.0.0-...-90ef764 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bot

func Bot(w http.ResponseWriter, r *http.Request)

func Cache

func Cache(w http.ResponseWriter, r *http.Request)

func ExecuteCollectorJob

func ExecuteCollectorJob(w http.ResponseWriter, r *http.Request)

func ExecutePublisherJob

func ExecutePublisherJob(w http.ResponseWriter, r *http.Request)

func News

func News(w http.ResponseWriter, r *http.Request)

Types

type Request

type Request []domain.Item

type Response

type Response struct {
	Msg    string `json:"text"`
	ChatID int64  `json:"chat_id"`
	Method string `json:"method"`
}

Jump to

Keyboard shortcuts

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