utils

package
v0.0.0-...-6dabcf5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: CC0-1.0 Imports: 3 Imported by: 0

Documentation

Overview

Package utils implements useful utilities for dealing with Tor and it's control port.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseControlPortString

func ParseControlPortString(raw string) (network, addr string, err error)

ParseControlPortString parses a string representation of a control port address into a network/address string pair suitable for use with "dial".

Valid string representations are:

  • tcp://address:port
  • unix://path
  • port (Translates to tcp://127.0.0.1:port)

func SplitQuoted

func SplitQuoted(s string, quote, sep rune) (splitted []string)

SplitQuoted splits s by sep if it is found outside substring quoted by quote.

Types

This section is empty.

Directories

Path Synopsis
Package pkcs1 implements PKCS#1 RSA key marshalling/unmarshalling, compatibile with Tor's usage.
Package pkcs1 implements PKCS#1 RSA key marshalling/unmarshalling, compatibile with Tor's usage.

Jump to

Keyboard shortcuts

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