register

package
v0.2.15 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRegisterResponse

func CreateRegisterResponse(p *Params) v0.RegisterResponse

CreateRegisterResponse generates a RegisterResponse from the given parameters. As an internal package, the caller is required to validate all input parameters.

Types

type Params

type Params struct {
	Project     string
	Service     string
	Org         string
	IPv4        string
	IPv6        string
	Geo         *geoip2.City
	Metro       iata.Row
	Network     *annotator.Network
	Probability float64
	Type        string
	Uplink      string
}

Params is used internally to collect multiple parameters.

Jump to

Keyboard shortcuts

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