Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCServer ¶
type GRPCServer struct { sirenv1.UnimplementedSirenServiceServer // contains filtered or unexported fields }
func NewGRPCServer ¶
func NewGRPCServer( logger log.Logger, headers api.HeadersConfig, apiDeps *api.Deps, opts ...GRPCServerOption) *GRPCServer
func (*GRPCServer) ListSubscriptions ¶
func (s *GRPCServer) ListSubscriptions(ctx context.Context, req *sirenv1.ListSubscriptionsRequest) (*sirenv1.ListSubscriptionsResponse, error)
type GRPCServerOption ¶
type GRPCServerOption func(*GRPCServer)
GRPCServerOption provides ability to configure the grpc initialization
func WithDebugRequest ¶
func WithDebugRequest(debugRequest bool) GRPCServerOption
func WithGlobalSubscription ¶
func WithGlobalSubscription(useGlobalSubscription bool) GRPCServerOption
Click to show internal directories.
Click to hide internal directories.