Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxPauseBetweenPolls = 1000 MinPauseBetweenPolls = 50 )
View Source
const DEFAULT_TTL = 10 * 60 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
func (*Cache) InitRequest ¶
type TGService ¶
type TGService struct {
// contains filtered or unexported fields
}
func NewTGService ¶
type WebService ¶
type WebService struct {
// contains filtered or unexported fields
}
func NewWebService ¶
func NewWebService(cache *Cache) *WebService
func (*WebService) Get ¶
func (srv *WebService) Get(ctx echo.Context) error
func (*WebService) Post ¶
func (srv *WebService) Post(ctx echo.Context) error
Click to show internal directories.
Click to hide internal directories.