model

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scope

type Scope struct {
	Storage  *Storage
	Template *i18n.Template
	Log      *zap.SugaredLogger
}

type Storage

type Storage struct {
	KV     storage.KV
	Search storage.Search
	Cache  storage.Cache
}

type TSearchResult

type TSearchResult struct {
	Seq        int
	Sender     string
	SenderLink string
	Date       string
	Content    string
	Link       string
}

type TSearchResults

type TSearchResults struct {
	Keyword string
	Results []*TSearchResult
	Took    int64
}

type TStart

type TStart struct {
	ID       int64
	Username string
	Notice   string
	Chats    []string
}

Jump to

Keyboard shortcuts

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