date

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {

	// Embed the unimplemented server
	date.UnimplementedDateServiceServer
}

func NewController added in v0.1.0

func NewController() *Controller

func (*Controller) Now

func (c *Controller) Now(_ context.Context, req *date.DateRequest) (resp *date.DateResponse, err error)

Now 日期查询

func (*Controller) SetRoutes added in v0.1.0

func (c *Controller) SetRoutes(ginRouter gin.IRouter, grpcRouter *grpc.Gateway)

SetRoutes registers this handler's routes.

Jump to

Keyboard shortcuts

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