interdomain

package
v1.7.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Overview

Package interdomain provides tools to work with interdomain cases

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Domain

func Domain(s string) string

Domain returns domain name from interdomain query

func Is

func Is(s string) bool

Is returns true if passed string can be represented as interdomain URL

func Join

func Join(s ...string) string

Join concatenates strings with intedomain identifier

func Not

func Not(s string) bool

Not returns true if passed string is not related to interdomain.

func Target

func Target(s string) string

Target returns target name from interdomain query

Types

This section is empty.

Jump to

Keyboard shortcuts

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