core

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comic

type Comic struct {
	Author      string
	Name        string
	IssueNumber string
	Source      string
	URLSource   string
	Links       []string
	Options     map[string]string
	Format      string
}

Comic struct contains all the informations about a comic

func (*Comic) MakeComic

func (c *Comic) MakeComic()

func (*Comic) SetAuthor added in v0.5.0

func (c *Comic) SetAuthor(author string)

SetAuthor sets the comic author

func (*Comic) SetFormat added in v0.6.1

func (c *Comic) SetFormat(format string)

SetFormat sets the comic output format

func (c *Comic) SetImageLinks(links []string)

SetLinks sets the image links retrieved for a manga

func (*Comic) SetInfo

func (c *Comic) SetInfo(name, issueNumber string)

SetInfo will sets the name, issueNumber

func (*Comic) SetIssueNumber

func (c *Comic) SetIssueNumber(issueNumber string)

SetIssueNumber sets the comic issue number

func (*Comic) SetName

func (c *Comic) SetName(name string)

SetName sets the comic name

func (*Comic) SetOptions added in v0.4.2

func (c *Comic) SetOptions(options map[string]string)

SetOptions set options to the current comic

func (*Comic) SetSource

func (c *Comic) SetSource(source string)

SetSource sets the source without the http prefix

func (*Comic) SetURLSource

func (c *Comic) SetURLSource(URLSource string)

SetURLSource sets the URL Source

func (*Comic) SplitURL added in v0.4.0

func (c *Comic) SplitURL() []string

SplitURL return the url splitted by "/"

Jump to

Keyboard shortcuts

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