server

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2025 License: BSD-3-Clause Imports: 28 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const MAX_RESULTS = 200

Variables

View Source
var CMD = &cobra.Command{
	Use:   "server",
	Short: "start a grpc server",
	Run: func(cmd *cobra.Command, args []string) {
		Main(caCertPath, serverCertPath, serverKeyPath)
	},
}
View Source
var MODEL_MODEL = &Model{
	Id: "Model",
}
View Source
var MODEL_REACTOR = &Model{
	Id: "Reactor",
}

Functions

func Main

func Main(caCertPath, serverCertPath, serverKeyPath string)

Types

type Binder added in v0.0.9

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

func (*Binder) Bind added in v0.0.9

func (cb *Binder) Bind(i interface{}, c echo.Context) error

type Model added in v0.0.9

type Model struct {
	Id     string
	Schema *yema.Type
	Index  map[string]string
}

Jump to

Keyboard shortcuts

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