cuhttp

package
v1.27.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartHTTPServer

func StartHTTPServer(ctx context.Context, d *deps.Deps, sd *ServiceDeps) error

This starts the public-facing server for market calls.

Types

type RouterMap

type RouterMap map[string]http.HandlerFunc

RouterMap is the map that allows the library user to pass in their own routes

type ServiceDeps added in v1.25.1

type ServiceDeps struct {
	EthSender  *message.SenderETH
	DealMarket *storage_market.CurioStorageDealMarket
}

Jump to

Keyboard shortcuts

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