plugin

package
v0.0.0-...-67991ef Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Spider

type Spider struct {
	interfaces.Service
}

func (*Spider) Close

func (s *Spider) Close() error

func (*Spider) Init

func (s *Spider) Init(service interfaces.Service) error

func (*Spider) Process

func (s *Spider) Process(data interface{}) (interface{}, error)

type SpiderDescriptor

type SpiderDescriptor struct {
	ID          string `json:"id"`
	Url         string `json:"url"`
	Title       string `json:"title"`
	Description string `json:"description"`
	Keywords    string `json:"keywords"`
	Content     string `json:"content"`
	Image       string `json:"image"`
	Timestamp   int64  `json:"timestamp"`
}

type SpiderSource

type SpiderSource struct {
	Url string `json:"url"`
}

Jump to

Keyboard shortcuts

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