Codebase list golang-github-go-kit-kit / run/71c4d6ff-0b5f-4c1b-9fd0-be5954a003b1/main transport / grpc / _grpc_test / service.go
run/71c4d6ff-0b5f-4c1b-9fd0-be5954a003b1/main

Tree @run/71c4d6ff-0b5f-4c1b-9fd0-be5954a003b1/main (Download .tar.gz)

service.go @run/71c4d6ff-0b5f-4c1b-9fd0-be5954a003b1/mainraw · history · blame

package test

import "context"

type Service interface {
	Test(ctx context.Context, a string, b int64) (context.Context, string, error)
}

type TestRequest struct {
	A string
	B int64
}

type TestResponse struct {
	Ctx context.Context
	V   string
}