server

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package server provides

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

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

Wrapper wraps both HTTP and RPC servers for coordinated shutdown

func Init

func Init(f *fish.Fish, apiAddress, caPath, certPath, keyPath string) (*Wrapper, error)

Init startups the API server to listen for incoming requests

func (*Wrapper) Shutdown

func (sw *Wrapper) Shutdown(ctx context.Context) error

Shutdown gracefully shuts down both RPC and HTTP servers

Directories

Path Synopsis
Package meta provides META-API for the resources
Package meta provides META-API for the resources

Jump to

Keyboard shortcuts

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