ebook

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package ebook generate ebook files such as .mobi or it's input, currently only mobi is supported

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IBook

type IBook interface {
	Info()
	Begin()
	End()
	SetTitle(string)
	AppendContent(string, string, string)
	SetMargins(float64, float64)
	SetPageType(string)
	SetPageSize(float64, float64)
	SetFontSize(int, int)
	SetLineSpacing(float64)
	SetFontFile(string)
	PagesPerFile(int)
	ChaptersPerFile(int)
	Output(string)
}

IBook interface for variant ebook generators

func NewBook

func NewBook(bookType string) IBook

NewBook create an instance and return as an interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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