Documentation
¶
Index ¶
- func RunGRPC(port int)
- type Server
- func (s *Server) Create(ctx context.Context, request *pb.Stream) (*pb.Stream, error)
- func (s *Server) Delete(ctx context.Context, request *pb.Stream) (*pb.Empty, error)
- func (s *Server) Get(ctx context.Context, request *pb.GetRequest) (*pb.Stream, error)
- func (s *Server) List(ctx context.Context, request *pb.Empty) (*pb.StreamList, error)
- func (s *Server) ListIds(ctx context.Context, searchRequest *pb.SearchRequest) (*pb.IdList, error)
- func (s *Server) Update(ctx context.Context, request *pb.Stream) (*pb.Stream, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server core struct
func NewServer ¶
func NewServer() *Server
NewServer creates a new struct to interface the streams server
Click to show internal directories.
Click to hide internal directories.