common

package
v0.0.0-...-e0a550e Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LOG_DEBUG = iota
	LOG_WARNING
	LOG_FATAL
	LOG_INFO
)

Variables

This section is empty.

Functions

func CharsetIconv

func CharsetIconv(page *common.Page) string

func Extend

func Extend(o1 interface{}, o2 interface{}) interface{}

func Logger

func Logger(logType int, msg string)

func Object2JsonStr

func Object2JsonStr(obj interface{}) string

func ToReaderCloser

func ToReaderCloser(reader io.Reader) io.ReadCloser

func UnicodeConvert

func UnicodeConvert(str string) string

func UrlEncoded

func UrlEncoded(str string) (string, error)

Types

type PipelinerItem

type PipelinerItem struct {
	Body         string
	BodyType     string
	BaseUrl      string
	MainKey      string
	MainKeyValue string
}

Jump to

Keyboard shortcuts

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