time

package module
v0.0.0-...-87c543c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TimeRequest

type TimeRequest struct{}

type TimeResponse

type TimeResponse struct {
	Time time.Time `json:"time"`
}

func Time

func Time(ctx context.Context, req TimeRequest) (TimeResponse, error)

Time returns the current time.

Jump to

Keyboard shortcuts

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