bind

package
v0.0.0-...-833cb33 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: AGPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthRPCServer

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

func NewHealthRPC

func NewHealthRPC() *HealthRPCServer

func (HealthRPCServer) SetRoutes

func (a HealthRPCServer) SetRoutes(srv *grpc.Server)

type MediaEventConsumer

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

func NewMediaEventConsumer

func NewMediaEventConsumer(svc usecase.MediaSAGAInteractor, logger log.Logger, cfg *config.Kernel) *MediaEventConsumer

func (*MediaEventConsumer) SetBinders

func (c *MediaEventConsumer) SetBinders(s *eventbus.Server, ctx context.Context, service string) error

type MediaHandler

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

func NewMediaHTTP

func NewMediaHTTP(svc usecase.MediaInteractor, logger log.Logger, tracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer) *MediaHandler

func (*MediaHandler) Create

func (h *MediaHandler) Create() *httptransport.Server

func (*MediaHandler) Delete

func (h *MediaHandler) Delete() *httptransport.Server

func (*MediaHandler) Get

func (h *MediaHandler) Get() *httptransport.Server

func (*MediaHandler) HardDelete

func (h *MediaHandler) HardDelete() *httptransport.Server

func (*MediaHandler) List

func (h *MediaHandler) List() *httptransport.Server

func (*MediaHandler) Restore

func (h *MediaHandler) Restore() *httptransport.Server

func (*MediaHandler) SetRoutes

func (h *MediaHandler) SetRoutes(public, private, admin *mux.Router)

SetRoutes implement Handler interface for HTTP Proxy

func (*MediaHandler) Update

func (h *MediaHandler) Update() *httptransport.Server

type MediaRPCServer

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

func NewMediaRPC

func NewMediaRPC(svc usecase.MediaInteractor, logger log.Logger, tracer stdopentracing.Tracer, zipkinTracer *stdzipkin.Tracer) *MediaRPCServer

func (MediaRPCServer) SetRoutes

func (a MediaRPCServer) SetRoutes(srv *grpc.Server)

Jump to

Keyboard shortcuts

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