http

package
v1.121.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(service *service.Service)

Register for HTTP.

Types

type Error

type Error struct {
	Message string `json:"message,omitempty"`
}

Error for HTTP.

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"`
	Error *Error            `json:"error,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"`
	Error *Error            `json:"error,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