model

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Name        string
	SendMethods []SendMethod
}

func NewService

func NewService(service *descriptorpb.ServiceDescriptorProto, nameSpace descriptor.Descriptor) Client

type Model

type Model struct {
	NameSpace descriptor.Descriptor
	Clients   []Client
	Source    string
}

func NewModel

func NewModel(file *protogen.File) *Model

type SendMethod

type SendMethod struct {
	OutputType descriptor.Descriptor
	InputType  descriptor.Descriptor
	Name       string
	TypeUrl    string
}

Jump to

Keyboard shortcuts

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