register

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

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

Go to latest
Published: Mar 14, 2024 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.

func OrgZone

func OrgZone(org, project string) string

OrgZone generates the organization zone name based the organization and project.

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
}

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