QueryClient is the client API for Query service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
| 367 | // |
| 368 | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 369 | type QueryClient interface { |
| 370 | // Queries a tokenData by index. |
| 371 | TokenData(ctx context.Context, in *QueryGetTokenDataRequest, opts ...grpc.CallOption) (*QueryGetTokenDataResponse, error) |
| 372 | // Queries a list of tokenData items. |
| 373 | TokenDataAll(ctx context.Context, in *QueryAllTokenDataRequest, opts ...grpc.CallOption) (*QueryAllTokenDataResponse, error) |
| 374 | // Queries a list of getTokenList items. |
| 375 | GetTokenList(ctx context.Context, in *QueryGetTokenListRequest, opts ...grpc.CallOption) (*QueryGetTokenListResponse, error) |
| 376 | } |
| 377 | |
| 378 | type queryClient struct { |
| 379 | cc grpc1.ClientConn |
no outgoing calls
no test coverage detected