readabilitywrapper

package module
v0.0.0-...-7d103b5 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

Wrapper around readability lib

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadabilityWrapper_Override

func NewReadabilityWrapper_Override(r ReadabilityWrapper, props *ReadabilityProps)

Types

type ReadabilityProps

type ReadabilityProps struct {
	Name *string `json:"name"`
}

type ReadabilityResult

type ReadabilityResult struct {
	Byline      *string  `json:"byline"`
	Content     *string  `json:"content"`
	Dir         *string  `json:"dir"`
	Excerpt     *string  `json:"excerpt"`
	Length      *float64 `json:"length"`
	SiteName    *string  `json:"siteName"`
	TextContent *string  `json:"textContent"`
	Title       *string  `json:"title"`
}

type ReadabilityWrapper

type ReadabilityWrapper interface {
	Props() *ReadabilityProps
	SetProps(val *ReadabilityProps)
	Parse(article *string, url *string) *ReadabilityResult
}

func NewReadabilityWrapper

func NewReadabilityWrapper(props *ReadabilityProps) ReadabilityWrapper

Directories

Path Synopsis
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.
Package jsii contains the functionaility needed for jsii packages to initialize their dependencies and themselves.

Jump to

Keyboard shortcuts

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