Documentation
¶
Index ¶
- type Server
- func (s *Server) Close(ctx context.Context, _ *pb.Close_Request) (*pb.Close_Response, error)
- func (s *Server) Configure(ctx context.Context, req *pbBase.Configure_Request) (*pbBase.Configure_Response, error)
- func (s *Server) DeleteStale(ctx context.Context, req *pb.DeleteStale_Request) (*pb.DeleteStale_Response, error)
- func (s *Server) GetMetrics(context.Context, *pb.GetDestinationMetrics_Request) (*pb.GetDestinationMetrics_Response, error)
- func (s *Server) GetName(context.Context, *pbBase.GetName_Request) (*pbBase.GetName_Response, error)
- func (*Server) GetProtocolVersion(context.Context, *pbBase.GetProtocolVersion_Request) (*pbBase.GetProtocolVersion_Response, error)
- func (s *Server) GetVersion(context.Context, *pbBase.GetVersion_Request) (*pbBase.GetVersion_Response, error)
- func (s *Server) Migrate(ctx context.Context, req *pb.Migrate_Request) (*pb.Migrate_Response, error)
- func (*Server) Write(pb.Destination_WriteServer) error
- func (s *Server) Write2(msg pb.Destination_Write2Server) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { pb.UnimplementedDestinationServer Plugin *destination.Plugin Logger zerolog.Logger }
func (*Server) Close ¶
func (s *Server) Close(ctx context.Context, _ *pb.Close_Request) (*pb.Close_Response, error)
func (*Server) Configure ¶
func (s *Server) Configure(ctx context.Context, req *pbBase.Configure_Request) (*pbBase.Configure_Response, error)
func (*Server) DeleteStale ¶
func (s *Server) DeleteStale(ctx context.Context, req *pb.DeleteStale_Request) (*pb.DeleteStale_Response, error)
func (*Server) GetMetrics ¶
func (s *Server) GetMetrics(context.Context, *pb.GetDestinationMetrics_Request) (*pb.GetDestinationMetrics_Response, error)
func (*Server) GetName ¶
func (s *Server) GetName(context.Context, *pbBase.GetName_Request) (*pbBase.GetName_Response, error)
func (*Server) GetProtocolVersion ¶
func (*Server) GetProtocolVersion(context.Context, *pbBase.GetProtocolVersion_Request) (*pbBase.GetProtocolVersion_Response, error)
func (*Server) GetVersion ¶
func (s *Server) GetVersion(context.Context, *pbBase.GetVersion_Request) (*pbBase.GetVersion_Response, error)
func (*Server) Migrate ¶
func (s *Server) Migrate(ctx context.Context, req *pb.Migrate_Request) (*pb.Migrate_Response, error)
Click to show internal directories.
Click to hide internal directories.