plugin

package
v0.0.0-...-0acba4a Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2016 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func D64

func D64(in string) string

func E64

func E64(in string) string

func FromUserName

func FromUserName(user tgbotapi.User) string

func GetDate

func GetDate(day bool, offset int) string

func InitRss

func InitRss(bot *tgbotapi.BotAPI)

func Statistics

func Statistics(s string, withAt bool) string

func TuringBot

func TuringBot(apiKey, userid, in string) string

func ZhTrans

func ZhTrans(in string) (out string)

Types

type About

type About struct{ bb.Base }

func (*About) Run

func (a *About) Run()

type AutoRule

type AutoRule struct{ Default }

func (*AutoRule) Run

func (s *AutoRule) Run()

type Base64

type Base64 struct{ bb.Base }

func (*Base64) Run

func (b *Base64) Run()

type Broadcast

type Broadcast struct{ Default }

func (*Broadcast) Run

func (b *Broadcast) Run()

type Cancel

type Cancel struct{ Default }

func (*Cancel) Run

func (c *Cancel) Run()

type Default

type Default struct{ bb.Base }

func (*Default) Run

func (d *Default) Run()

type Google

type Google struct{ bb.Base }

func (*Google) G

func (g *Google) G(query string) string

func (*Google) Run

func (g *Google) Run()

type Groups

type Groups struct{ bb.Base }

func (*Groups) Run

func (g *Groups) Run()

type Man

type Man struct{ Default }

func (*Man) Run

func (m *Man) Run()

type Markdown

type Markdown struct{ bb.Base }

func (*Markdown) Run

func (m *Markdown) Run()

type MsTrans

type MsTrans struct {
	// contains filtered or unexported fields
}

func (*MsTrans) Detect

func (m *MsTrans) Detect(in string) (string, error)

func (*MsTrans) New

func (m *MsTrans) New()

func (*MsTrans) Trans

func (m *MsTrans) Trans(in, from, to string) (string, error)

type OtherResources

type OtherResources struct{ bb.Base }

func (*OtherResources) Run

func (o *OtherResources) Run()

type Prepare

type Prepare struct{ bb.Base }

func (*Prepare) Run

func (p *Prepare) Run()

type Rain

type Rain struct{ bb.Base }

func (*Rain) Run

func (r *Rain) Run()

type RmRule

type RmRule struct{ Default }

func (*RmRule) Run

func (s *RmRule) Run()

type Rss

type Rss struct{ Default }

func (*Rss) Run

func (r *Rss) Run()

type Rule

type Rule struct{ bb.Base }

func (*Rule) Run

func (r *Rule) Run()
type Search struct{ Default }

func (*Search) Run

func (s *Search) Run()

type SetRule

type SetRule struct{ Default }

func (*SetRule) Run

func (s *SetRule) Run()

type Start

type Start struct{ Default }

func (*Start) Run

func (s *Start) Run()

type Stat

type Stat struct{ Default }

func (*Stat) Run

func (s *Stat) Run()

type Subscribe

type Subscribe struct{ Default }

func (*Subscribe) Run

func (s *Subscribe) Run()

type Trans

type Trans struct{ Default }

func (*Trans) Run

func (t *Trans) Run()

type Turing

type Turing struct{ Default }

func (*Turing) Run

func (t *Turing) Run()

type UnSubscribe

type UnSubscribe struct{ bb.Base }

func (*UnSubscribe) Run

func (u *UnSubscribe) Run()

Jump to

Keyboard shortcuts

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