Codebase list golang-github-go-kit-kit / 0c243515-0bf2-4b25-8735-9c1038fa7c1b/v0.9.0 examples / addsvc / thrift / addsvc.thrift
0c243515-0bf2-4b25-8735-9c1038fa7c1b/v0.9.0

Tree @0c243515-0bf2-4b25-8735-9c1038fa7c1b/v0.9.0 (Download .tar.gz)

addsvc.thrift @0c243515-0bf2-4b25-8735-9c1038fa7c1b/v0.9.0raw · 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)
}