http

package
v1.181.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(service *ids.Identifier)

Register for HTTP.

Types

type GenerateIdentifiersRequest

type GenerateIdentifiersRequest struct {
	Application string `json:"application,omitempty"`
	Count       uint64 `json:"count,omitempty"`
}

GenerateIdentifiersRequest for a specific application.

type GenerateIdentifiersResponse

type GenerateIdentifiersResponse struct {
	Meta map[string]string `json:"meta,omitempty"`
	IDs  []string          `json:"ids,omitempty"`
}

GenerateIdentifiersResponse for a specific application.

type MapIdentifiersRequest

type MapIdentifiersRequest struct {
	IDs []string `json:"ids,omitempty"`
}

MapIdentifiersRequest for some identifiers.

type MapIdentifiersResponse

type MapIdentifiersResponse struct {
	Meta map[string]string `json:"meta,omitempty"`
	IDs  []string          `json:"ids,omitempty"`
}

MapIdentifiersResponse for some identifiers.

Jump to

Keyboard shortcuts

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