json

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	A float64 `json:"a,omitempty"`
	B float64 `json:"b,omitempty"`
}

Request .

type Response

type Response struct {
	C float64 `json:"c,omitempty"`
}

Response .

type TestService

type TestService struct{}

TestService Defining Computational Digital Services

func (*TestService) Add

func (this *TestService) Add(args *Request, reply *Response) error

Add addition

func (*TestService) Div

func (this *TestService) Div(args *Request, reply *Response) error

Div division

func (*TestService) Mul

func (this *TestService) Mul(args *Request, reply *Response) error

Mul multiplication

func (*TestService) Sub

func (this *TestService) Sub(args *Request, reply *Response) error

Sub subtraction

Jump to

Keyboard shortcuts

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