urlcanonical

package
v0.0.0-...-8e13b74 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package urlcanonical provides URL parsing features for ads.txt.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TranslateDeveloperURLToAppAdsTxtPaths

func TranslateDeveloperURLToAppAdsTxtPaths(input string) (string, string, error)

TranslateDeveloperURLToAppAdsTxtPaths returns a pair of strings indicating the app-ads.txt paths to crawl for a given developer URL. If the URL includes a permissable subdomain, that value will be returned as the second return parameter; otherwise, that value will be an empty string. Any error occurring on the parse attempt will be returned in the third parameter.

Types

This section is empty.

Jump to

Keyboard shortcuts

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