MCPcopy Index your code
hub / github.com/dreamsofcode-io/grpc / Create

Method Create

pokemon-api/pb/pokemon_grpc.pb.go:34–34  ·  view source on GitHub ↗
(ctx context.Context, in *PokemonRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

32// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
33type PokedexClient interface {
34 Create(ctx context.Context, in *PokemonRequest, opts ...grpc.CallOption) (*Pokemon, error)
35 Read(ctx context.Context, in *PokemonFilter, opts ...grpc.CallOption) (*PokemonListResponse, error)
36 ReadOne(ctx context.Context, in *PokemonID, opts ...grpc.CallOption) (*Pokemon, error)
37 Update(ctx context.Context, in *PokemonUpdateRequest, opts ...grpc.CallOption) (*Pokemon, error)

Callers 1

_Pokedex_Create_HandlerFunction · 0.65

Implementers 3

Serverpokemon-api/pokedex/server.go
pokedexClientpokemon-api/pb/pokemon_grpc.pb.go
UnimplementedPokedexServerpokemon-api/pb/pokemon_grpc.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected