ioutils

package
v0.0.0-...-a706524 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Author: ZHU HAIHUA Date: 8/23/16

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTopDomain

func IsTopDomain(domain string) bool

func ParseRawCookies

func ParseRawCookies(cookie string) ([]*http.Cookie, error)

func ReplaceHost

func ReplaceHost(data string, isRequest bool) string

替换请求中的Host, 在转发请求的时候, isRequest应该设置为true, 在转发应答的时候, reverse应该设置为false

func TopDomainName

func TopDomainName(domain string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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