api

package
v1.4.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(cfg Config) fx.Option

Types

type API

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

API struct

func NewAPI

func NewAPI(
	routes *routes.Routes,
) *API

NewAPI

func (*API) ServeHTTP

func (a *API) ServeHTTP(w http.ResponseWriter, r *http.Request)

type Config

type Config struct {
	StorageDriver string
	Version       string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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