crawler

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	I18n    *web.I18n     `inject:""`
	Handler *auth.Handler `inject:""`
}

Engine crawler engine

func (*Engine) Home

func (p *Engine) Home() gin.HandlerFunc

Home home

func (*Engine) Init

func (p *Engine) Init(*inject.Graph) error

Init init ioc objects

func (*Engine) Mount

func (p *Engine) Mount(rt *gin.Engine)

Mount web points

func (*Engine) Shell

func (p *Engine) Shell() []cli.Command

Shell command line

func (*Engine) Worker

func (p *Engine) Worker()

Worker register worker

type LineMessage

type LineMessage struct {
	web.Model
	UserID    string
	MessageID string
	Content   string
}

LineMessage line message

Jump to

Keyboard shortcuts

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