message

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArithRequest

type ArithRequest struct {
	A float64 `protobuf:"fixed64,1,opt,name=a" json:"a,omitempty"`
	B float64 `protobuf:"fixed64,2,opt,name=b" json:"b,omitempty"`
}

func (*ArithRequest) Descriptor

func (*ArithRequest) Descriptor() ([]byte, []int)

func (*ArithRequest) GetA

func (m *ArithRequest) GetA() float64

func (*ArithRequest) GetB

func (m *ArithRequest) GetB() float64

func (*ArithRequest) ProtoMessage

func (*ArithRequest) ProtoMessage()

func (*ArithRequest) Reset

func (m *ArithRequest) Reset()

func (*ArithRequest) String

func (m *ArithRequest) String() string

type ArithResponse

type ArithResponse struct {
	C float64 `protobuf:"fixed64,1,opt,name=c" json:"c,omitempty"`
}

func (*ArithResponse) Descriptor

func (*ArithResponse) Descriptor() ([]byte, []int)

func (*ArithResponse) GetC

func (m *ArithResponse) GetC() float64

func (*ArithResponse) ProtoMessage

func (*ArithResponse) ProtoMessage()

func (*ArithResponse) Reset

func (m *ArithResponse) Reset()

func (*ArithResponse) String

func (m *ArithResponse) String() string

type ArithService

type ArithService struct{}

ArithService Defining Computational Digital Services

func (*ArithService) Add

func (this *ArithService) Add(args *ArithRequest, reply *ArithResponse) error

Add addition

func (*ArithService) Div

func (this *ArithService) Div(args *ArithRequest, reply *ArithResponse) error

Div division

func (*ArithService) Mul

func (this *ArithService) Mul(args *ArithRequest, reply *ArithResponse) error

Mul multiplication

func (*ArithService) Sub

func (this *ArithService) Sub(args *ArithRequest, reply *ArithResponse) error

Sub subtraction

Jump to

Keyboard shortcuts

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