datafetcher

package
v0.0.0-...-3e14ff0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleRequests

func HandleRequests(upBankToken string, log *log.Logger)

HandleRequests function to define the routes and start the server

Types

type GlobalState

type GlobalState struct {
	Count int
}

type NowHandler

type NowHandler struct {
	Now func() time.Time
}

func NewNowHandler

func NewNowHandler(now func() time.Time) NowHandler

func (NowHandler) ServeHTTP

func (nh NowHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Directories

Path Synopsis
templ: version: v0.2.771
templ: version: v0.2.771

Jump to

Keyboard shortcuts

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