engine

package
v0.0.0-...-24cf382 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGrpcController

func RegisterGrpcController(app engine.GrpcApp, registerFunc func(server *grpc.Server, cls interface{}))

func RegisterRestfulController

func RegisterRestfulController(app engine.RestfulApp)

RegisterRestfulController - register the restful controller to the engine

Types

type Controller

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

Controller Struct - The controller struct to be used by others

func (Controller) GetName

func (c Controller) GetName() string

Jump to

Keyboard shortcuts

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