Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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"` 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.
type RegisterParams ¶
type RegisterParams struct { fx.In Marshaller *marshaller.Map Mux http.ServeMux Service *service.Service }
RegisterParams for HTTP.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server for HTTP.
func (*Server) GenerateIdentifiers ¶
func (s *Server) GenerateIdentifiers(ctx context.Context, req *GenerateIdentifiersRequest) (*GenerateIdentifiersResponse, error)
GenerateIdentifiers for HTTP.
func (*Server) MapIdentifiers ¶
func (s *Server) MapIdentifiers(ctx context.Context, req *MapIdentifiersRequest) (*MapIdentifiersResponse, error)
MapIdentifiers for HTTP.
Click to show internal directories.
Click to hide internal directories.