relay

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Relay

type Relay struct {
	Name relayName.RelayName
	Id   int
}

func Parse

func Parse(s string) (Relay, error)

func Parse converts a given string to a Relay it tries to convert different styles of relays to a Relay type

func (Relay) GetAbbreviation

func (r Relay) GetAbbreviation() string

func GetAbbreviation returns short name of a relay if no relay given a empty string will be returned

func (Relay) GetName

func (r Relay) GetName() string

func GetName returns the full name of a relay if no relay given a empty string will be returned

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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