server

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package grpc/server provides generator for GRPC gateway's server

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToCamelCase

func ToCamelCase(src string) string

func ToLowerCamelCase

func ToLowerCamelCase(src string) string

Types

type Generator

type Generator struct {
	TypeMap        map[string]string
	NameMap        map[string]string
	ReverseNameMap map[string]string
	Associations   map[string]map[string]string
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(schema shared.Schema) *Generator

NewGenerator returns initialized generator

func (*Generator) Start

func (g *Generator) Start()

Generate generates the grpc server and writes it to ./odata folder

Jump to

Keyboard shortcuts

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