openffi_cli

package module
v0.0.0-...-91bceb3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionData

type FunctionData struct {
	Name         string
	RequestName  string
	ResponseName string
	Parameters   []*ParameterData
	Return       []*ParameterData
}

--------------------------------------------------------------------

type Module

type Module struct {
	Name      string
	Functions []*FunctionData
}

--------------------------------------------------------------------

type ParameterData

type ParameterData struct {
	Name    string
	Type    string
	IsArray bool
}

--------------------------------------------------------------------

type ProtoParser

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

--------------------------------------------------------------------

func NewProtoParser

func NewProtoParser(proto string, protoFilename string) (*ProtoParser, error)

--------------------------------------------------------------------

func (*ProtoParser) GetModules

func (this *ProtoParser) GetModules() ([]*Module, error)

--------------------------------------------------------------------

func (*ProtoParser) GetProtoFileName

func (this *ProtoParser) GetProtoFileName() string

--------------------------------------------------------------------

Jump to

Keyboard shortcuts

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