Codebase list golang-github-go-kit-kit / eb8486a6-f182-4772-872e-3e24b6b63e39/main examples / addsvc / thrift / addsvc.thrift
eb8486a6-f182-4772-872e-3e24b6b63e39/main

Tree @eb8486a6-f182-4772-872e-3e24b6b63e39/main (Download .tar.gz)

addsvc.thrift @eb8486a6-f182-4772-872e-3e24b6b63e39/mainraw · history · blame

struct SumReply {
	1: i64 value
	2: string err
}

struct ConcatReply {
	1: string value
	2: string err
}

service AddService {
	SumReply Sum(1: i64 a, 2: i64 b)
	ConcatReply Concat(1: string a, 2: string b)
}