Documentation
¶
Index ¶
- Constants
- func NewServer(log hclog.Logger) pub.PublisherServer
- type ArchiveAction
- type RealTimeSettings
- type RealTimeState
- type Server
- func (s *Server) BeginOAuthFlow(context.Context, *pub.BeginOAuthFlowRequest) (*pub.BeginOAuthFlowResponse, error)
- func (s *Server) CompleteOAuthFlow(context.Context, *pub.CompleteOAuthFlowRequest) (*pub.CompleteOAuthFlowResponse, error)
- func (s *Server) ConfigureConnection(context.Context, *pub.ConfigureConnectionRequest) (*pub.ConfigureConnectionResponse, error)
- func (s *Server) ConfigureQuery(context.Context, *pub.ConfigureQueryRequest) (*pub.ConfigureQueryResponse, error)
- func (s *Server) ConfigureRealTime(ctx context.Context, req *pub.ConfigureRealTimeRequest) (*pub.ConfigureRealTimeResponse, error)
- func (s *Server) Connect(ctx context.Context, req *pub.ConnectRequest) (*pub.ConnectResponse, error)
- func (s *Server) ConnectSession(*pub.ConnectRequest, pub.Publisher_ConnectSessionServer) error
- func (s *Server) Disconnect(context.Context, *pub.DisconnectRequest) (*pub.DisconnectResponse, error)
- func (s *Server) DiscoverShapes(ctx context.Context, req *pub.DiscoverShapesRequest) (*pub.DiscoverShapesResponse, error)
- func (s *Server) PublishStream(req *pub.PublishRequest, stream pub.Publisher_PublishStreamServer) error
- type Settings
- type ShapeColumn
- type ShapeSettings
Constants ¶
View Source
const ( CleanupNothing = ArchiveAction("nothing") CleanupArchive = ArchiveAction("archive") CleanupDelete = ArchiveAction("delete") )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArchiveAction ¶
type ArchiveAction string
type RealTimeSettings ¶
func (RealTimeSettings) MarshalJSON ¶
func (r RealTimeSettings) MarshalJSON() ([]byte, error)
func (RealTimeSettings) String ¶
func (r RealTimeSettings) String() string
func (*RealTimeSettings) UnmarshalJSON ¶
func (r *RealTimeSettings) UnmarshalJSON(b []byte) error
type RealTimeState ¶
func (RealTimeState) String ¶
func (r RealTimeState) String() string
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) BeginOAuthFlow ¶
func (s *Server) BeginOAuthFlow(context.Context, *pub.BeginOAuthFlowRequest) (*pub.BeginOAuthFlowResponse, error)
func (*Server) CompleteOAuthFlow ¶
func (s *Server) CompleteOAuthFlow(context.Context, *pub.CompleteOAuthFlowRequest) (*pub.CompleteOAuthFlowResponse, error)
func (*Server) ConfigureConnection ¶
func (s *Server) ConfigureConnection(context.Context, *pub.ConfigureConnectionRequest) (*pub.ConfigureConnectionResponse, error)
func (*Server) ConfigureQuery ¶
func (s *Server) ConfigureQuery(context.Context, *pub.ConfigureQueryRequest) (*pub.ConfigureQueryResponse, error)
func (*Server) ConfigureRealTime ¶
func (s *Server) ConfigureRealTime(ctx context.Context, req *pub.ConfigureRealTimeRequest) (*pub.ConfigureRealTimeResponse, error)
func (*Server) Connect ¶
func (s *Server) Connect(ctx context.Context, req *pub.ConnectRequest) (*pub.ConnectResponse, error)
func (*Server) ConnectSession ¶
func (s *Server) ConnectSession(*pub.ConnectRequest, pub.Publisher_ConnectSessionServer) error
func (*Server) Disconnect ¶
func (s *Server) Disconnect(context.Context, *pub.DisconnectRequest) (*pub.DisconnectResponse, error)
func (*Server) DiscoverShapes ¶
func (s *Server) DiscoverShapes(ctx context.Context, req *pub.DiscoverShapesRequest) (*pub.DiscoverShapesResponse, error)
func (*Server) PublishStream ¶
func (s *Server) PublishStream(req *pub.PublishRequest, stream pub.Publisher_PublishStreamServer) error
type Settings ¶
type ShapeColumn ¶
type ShapeSettings ¶
type ShapeSettings struct {
Name string
Columns []ShapeColumn
Keys []string
}
Click to show internal directories.
Click to hide internal directories.