api

package
v0.48.1 Latest Latest
Warning

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

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

Documentation

Overview

Package api SeqUI Server.

@title						SeqUI Server
@version					1.0

@accept						json
@produce					json

@securityDefinitions.apikey	bearer
@in							header
@name						Authorization
@description				Authentication token, prefixed by Bearer: Bearer {token}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Registrar

type Registrar struct {
	// contains filtered or unexported fields
}

Registrar is registrar of gRPC and gRPC-Gateway handlers.

func NewRegistrar

func NewRegistrar(
	seqApiV1 *seqapi_v1_api.SeqAPI,
	userProfileV1 *userprofile_v1_api.UserProfile,
	dashboardsV1 *dashboards_v1_api.Dashboards,
	massExportV1 *massexport_v1_api.MassExport,
	errorGroupsV1 *errorgroups_v1_api.ErrorGroups,
) *Registrar

NewRegistrar returns new registrar instance.

func (*Registrar) RegisterGRPCHandlers

func (r *Registrar) RegisterGRPCHandlers(grpcServer *grpc.Server)

RegisterGRPCHandlers registers all handlers for grpcServer.

func (*Registrar) RegisterHTTPHandlers

func (r *Registrar) RegisterHTTPHandlers(mux *chi.Mux)

RegisterHTTPHandlers registers all handlers for mux.

Directories

Path Synopsis
dashboards
v1
errorgroups
v1
massexport
v1
seqapi
v1
userprofile
v1

Jump to

Keyboard shortcuts

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