readflow

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	APIKey string
	// contains filtered or unexported fields
}

Provider is the structure definition of a Readflow webhook provider

func (*Provider) Send

func (p *Provider) Send(ctx context.Context, article model.Article) (*webhook.Result, error)

Send article to Readflow endpoint.

type ProviderConfig

type ProviderConfig struct {
	Endpoint string `json:"endpoint"`
}

ProviderConfig is the structure definition of a Readflow API configuration

Jump to

Keyboard shortcuts

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