rpc

package
v0.1.71 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(ctx context.Context, p *project.Project, server *server.Server) error

Types

type Args

type Args struct {
	A int `json:"a"`
	B int `json:"b"`
}

type AwsResource

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

type CreateResult

type CreateResult[T any] struct {
	ID   string `json:"id"`
	Outs T      `json:"outs"`
}

type DeleteInput

type DeleteInput[T any] struct {
	ID   string `json:"id"`
	Outs T      `json:"outs"`
}

type HttpConn

type HttpConn struct {
	io.Reader
	io.Writer
}

func (*HttpConn) Close

func (c *HttpConn) Close() error

type MathService

type MathService struct{}

func (*MathService) Multiply

func (m *MathService) Multiply(args *Args, reply *int) error

type OriginAccessIdentity

type OriginAccessIdentity struct {
	*AwsResource
}

func (*OriginAccessIdentity) Create

func (*OriginAccessIdentity) Delete

type OriginAccessIdentityInputs

type OriginAccessIdentityInputs struct {
}

type OriginAccessIdentityOutputs

type OriginAccessIdentityOutputs struct {
}

type UpdateInput

type UpdateInput[N any, O any] struct {
	ID   string `json:"id"`
	News N      `json:"news"`
	Olds O      `json:"olds"`
}

Jump to

Keyboard shortcuts

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