imgur

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (resolvers []resolver.CustomURLManager)

Types

type ImgurClient

type ImgurClient interface {
	GetInfoFromURL(urlString string) (*imgur.GenericInfo, int, error)
}

type NullLogger

type NullLogger struct {
}

NullLogger implements the go-klogger interface to ensure the go-imgur library doesn't print out a bunch of garbage

func (NullLogger) Criticalf

func (n NullLogger) Criticalf(format string, args ...interface{})

func (NullLogger) Debugf

func (n NullLogger) Debugf(format string, args ...interface{})

func (NullLogger) Errorf

func (n NullLogger) Errorf(format string, args ...interface{})

func (NullLogger) Infof

func (n NullLogger) Infof(format string, args ...interface{})

func (NullLogger) Warningf

func (n NullLogger) Warningf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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