Black Lives Matter
Support the Equal Justice Initiative
Link to Go homepage
  • Why Go
  • Getting Started
  • Discover Packages
  • About
Go.
  • Why Go
  • Getting Started
  • Discover Packages
  • About
  • golang.org
Discover Packages github.com/AliceO2Group/Control odcshim occserver

occserver

package
Version v0.19.2
Latest Latest Go to latest
Jan 27, 2021 GPL-2.0, GPL-3.0 20 Imports 0 Imported by
Go
occserver
Version v0.19.2
Latest Go to latest
Jan 27, 2021 GPL-2.0, GPL-3.0 20 Imports 0 Imported by
  • Documentation
    • Index
    • Constants
    • Variables
    • Functions
      • NewServer(host, port, topology)
    • Types
      • type OccServerImpl
        • (s) EventStream(req, srv)
        • (s) GetState(ctx, req)
        • (s) StateStream(req, srv)
        • (s) Transition(ctx, req)
  • Source Files

Documentation

Index ¶

  • Constants
  • func NewServer(host string, port int, topology string) *grpc.Server
  • type OccServerImpl
    • func (s *OccServerImpl) EventStream(req *pb.EventStreamRequest, srv pb.Occ_EventStreamServer) error
    • func (s *OccServerImpl) GetState(ctx context.Context, req *pb.GetStateRequest) (*pb.GetStateReply, error)
    • func (s *OccServerImpl) StateStream(req *pb.StateStreamRequest, srv pb.Occ_StateStreamServer) error
    • func (s *OccServerImpl) Transition(ctx context.Context, req *pb.TransitionRequest) (*pb.TransitionReply, error)

Constants ¶

View Source
const CALL_TIMEOUT = 30 * time.Second

Variables ¶

This section is empty.

Functions ¶

func NewServer ¶

func NewServer(host string, port int, topology string) *grpc.Server

Types ¶

type OccServerImpl ¶

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

func (*OccServerImpl) EventStream ¶

func (s *OccServerImpl) EventStream(req *pb.EventStreamRequest, srv pb.Occ_EventStreamServer) error

    FIXME: this is a dummy implementation

    func (*OccServerImpl) GetState ¶

    func (s *OccServerImpl) GetState(ctx context.Context, req *pb.GetStateRequest) (*pb.GetStateReply, error)

    func (*OccServerImpl) StateStream ¶

    func (s *OccServerImpl) StateStream(req *pb.StateStreamRequest, srv pb.Occ_StateStreamServer) error

    func (*OccServerImpl) Transition ¶

    func (s *OccServerImpl) Transition(ctx context.Context, req *pb.TransitionRequest) (*pb.TransitionReply, error)

    Source Files

    View all
    • handlers.go
    • occserver.go
    • state.go
    DetailsLearn more
    • checked Valid go.mod file
    • checked Redistributable license
    • checked Tagged version
    • unchecked Stable version
    Repository
    https://github.com/AliceO2Group/Control

    Jump to

    Keyboard shortcuts

    ? : This menu
    / : Search site
    f or F : Jump to
    Why Go Use Cases Case Studies
    Getting Started Playground Tour Stack Overflow
    Discover Packages
    About Download Blog Release Notes Brand Guidelines Code of Conduct
    Connect Twitter GitHub Slack Meetup
    Gopher in flight goggles
    • Copyright
    • Terms of Service
    • Privacy Policy
    • Report an Issue
    • golang.org
    Google logo