example

package module
v0.0.0-...-aff10c7 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

README

flare-example

flare-example

Documentation

Overview

Package example defines datastructure and services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	A int
	B int
}

type Arith

type Arith int

func (*Arith) Add

func (t *Arith) Add(ctx context.Context, args *Args, reply *Reply) error

func (*Arith) Mul

func (t *Arith) Mul(ctx context.Context, args *Args, reply *Reply) error

func (*Arith) Say

func (t *Arith) Say(ctx context.Context, args *string, reply *string) error

type Greeter

type Greeter struct{}

func (*Greeter) Say

func (s *Greeter) Say(ctx context.Context, name *string, reply *string) error

type Reply

type Reply struct {
	C int
}

Directories

Path Synopsis
101basic
102basic
alias
auth
bidirectional
blacklist
breaker
broadcast
codec
protobuf/pb
Package pb is a generated protocol buffer package.
Package pb is a generated protocol buffer package.
compress
debug_trace
docker
error
failmode
file_download
filetransfer
fork
function
graceful_restart
group
heartbeat
http_invoke
internal_error
ipv6
jsonrpc2
kcp
client
go run -tags kcp client.go
go run -tags kcp client.go
server
go run -tags kcp server.go
go run -tags kcp server.go
go run -tags kcp server.go
go run -tags kcp server.go
metadata
metrics
nil_panic
nil_reply_client
nil_reply_server
oneclient
oneway
opentelemetry
plugin
pool
quic
client
go run -tags quic client.go
go run -tags quic client.go
server
go run -tags quic .
go run -tags quic .
reconnect
reflection
registry
reqratelimit
reuseport
selector
server_timeout
state
stream
tcpcopy
timeout
tls
unixdomain
websocket
wrapcall

Jump to

Keyboard shortcuts

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