{"modulePath":"github.com/stack-labs/stack-rpc-tutorials/examples","version":"v0.0.0-20210202150106-fabbfc548bb1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Types\n\n```go\ntype Example struct{}\n```\n\n```go\nfunc (e *Example) Call(ctx context.Context, req *proto.CallRequest, rsp *proto.CallResponse) error\n```\nCall 方法在下面main中我们通过endpoint将其注册到/example/call路由\n\n```go\ntype Foo struct{}\n```\n\n```go\nfunc (f *Foo) Bar(ctx context.Context, req *proto.EmptyRequest, rsp *proto.EmptyResponse) error\n```\nBar 方法在下面main中我们通过endpoint将其注册到/example/foo/bar路由\n\n","path":"github.com/stack-labs/stack-rpc-tutorials/examples/deprecated/micro-api/meta","name":"main","synopsis":"","isRedistributable":true}
