cards

package
v0.111.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by sysl DO NOT EDIT.

Code generated by sysl DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownstreamConfig added in v0.29.0

type DownstreamConfig struct {
	ContextTimeout time.Duration `yaml:"contextTimeout"`
}

DownstreamConfig for Cards

type GetCardsClient

type GetCardsClient struct {
}

GetCards Client

type GrpcServiceHandler

type GrpcServiceHandler struct {
	// contains filtered or unexported fields
}

GrpcServiceHandler for Cards API

func NewGrpcServiceHandler

func NewGrpcServiceHandler(genCallback core.GrpcGenCallback, serviceInterface *GrpcServiceInterface) *GrpcServiceHandler

NewGrpcServiceHandler for Cards

func (*GrpcServiceHandler) GetCards

GetCards ...

func (*GrpcServiceHandler) RegisterServer

func (s *GrpcServiceHandler) RegisterServer(ctx context.Context, server *grpc.Server)

RegisterServer registers the Cards gRPC service

type GrpcServiceInterface

type GrpcServiceInterface struct {
	GetCards func(ctx context.Context, req *pb.GetCardsRequest, client GetCardsClient) (*pb.GetCardsResponse, error)
}

GrpcServiceInterface for Cards

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL