server

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package server implements HTTP server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server implements oas.Handler.

func NewServer added in v0.9.0

func NewServer(tracerProvider trace.TracerProvider) *Server

func (Server) NewError

func (s Server) NewError(_ context.Context, err error) *oas.ErrorStatusCode

func (Server) Status

func (s Server) Status(ctx context.Context) (*oas.Status, error)

func (Server) UploadFile added in v0.8.0

func (s Server) UploadFile(ctx context.Context, req *oas.UploadFileReq) (*oas.UploadResponse, error)

Jump to

Keyboard shortcuts

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