fileserve

package
v0.0.0-...-4d895cd Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(addr string, shutdownTimeout time.Duration, resolver Resolver) *service.HTTPServer

Types

type RequestParams

type RequestParams struct {
	ContactID uint64
	BankName  string
}

func Parse

type Resolver

type Resolver interface {
	GetImage(ctx context.Context, contactID uint64, bankName string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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