provider

package
v0.0.0-...-3f4cbe2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileOption

type FileOption struct {
	Height   int    `json:"height"`
	FileName string `json:"file_name"`
}

type FileProvider

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

func NewFileProvider

func NewFileProvider(config FileOption) *FileProvider

func (*FileProvider) Close

func (f *FileProvider) Close() error

func (*FileProvider) Follow

func (f *FileProvider) Follow(out chan []byte) error

func (*FileProvider) Start

func (f *FileProvider) Start() error

type Provider

type Provider interface {
	Start() error
	Close() error
	Follow(chan []byte) error
}

Jump to

Keyboard shortcuts

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