Documentation ¶
Index ¶
- type LocalClient
- func (c *LocalClient) Event(ctx context.Context, in *pbsvc.EventRequest, _ ...grpc.CallOption) (pbsvc.LitterBox_EventClient, error)
- func (c *LocalClient) Get(ctx context.Context, in *pbsvc.GetRequest, _ ...grpc.CallOption) (*pbsvc.GetResponse, error)
- func (c *LocalClient) Run(ctx context.Context, in *pbsvc.RunRequest, _ ...grpc.CallOption) (pbsvc.LitterBox_RunClient, error)
- func (c *LocalClient) Scoop(ctx context.Context, in *pbsvc.ScoopRequest, _ ...grpc.CallOption) (*pbsvc.ScoopResponse, error)
- func (c *LocalClient) Setup(ctx context.Context, in *pbsvc.SetupRequest, _ ...grpc.CallOption) (*pbsvc.SetupResponse, error)
- type Svc
- func (s *Svc) Event(req *pbsvc.EventRequest, srv pbsvc.LitterBox_EventServer) error
- func (s *Svc) Get(ctx context.Context, req *pbsvc.GetRequest) (*pbsvc.GetResponse, error)
- func (s *Svc) Register(ctx context.Context, srv *grpc.Server, gw *runtime.ServeMux, port int)
- func (s *Svc) Run(req *pbsvc.RunRequest, srv pbsvc.LitterBox_RunServer) error
- func (s *Svc) Scoop(ctx context.Context, req *pbsvc.ScoopRequest) (*pbsvc.ScoopResponse, error)
- func (s *Svc) Setup(ctx context.Context, req *pbsvc.SetupRequest) (*pbsvc.SetupResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalClient ¶
type LocalClient struct {
Server pbsvc.LitterBoxServer
}
func (*LocalClient) Event ¶ added in v0.6.0
func (c *LocalClient) Event(ctx context.Context, in *pbsvc.EventRequest, _ ...grpc.CallOption) (pbsvc.LitterBox_EventClient, error)
func (*LocalClient) Get ¶ added in v0.10.0
func (c *LocalClient) Get(ctx context.Context, in *pbsvc.GetRequest, _ ...grpc.CallOption) (*pbsvc.GetResponse, error)
func (*LocalClient) Run ¶
func (c *LocalClient) Run(ctx context.Context, in *pbsvc.RunRequest, _ ...grpc.CallOption) (pbsvc.LitterBox_RunClient, error)
func (*LocalClient) Scoop ¶
func (c *LocalClient) Scoop(ctx context.Context, in *pbsvc.ScoopRequest, _ ...grpc.CallOption) (*pbsvc.ScoopResponse, error)
func (*LocalClient) Setup ¶
func (c *LocalClient) Setup(ctx context.Context, in *pbsvc.SetupRequest, _ ...grpc.CallOption) (*pbsvc.SetupResponse, error)
type Svc ¶
func (*Svc) Event ¶ added in v0.6.0
func (s *Svc) Event(req *pbsvc.EventRequest, srv pbsvc.LitterBox_EventServer) error
func (*Svc) Get ¶ added in v0.10.0
func (s *Svc) Get(ctx context.Context, req *pbsvc.GetRequest) (*pbsvc.GetResponse, error)
func (*Svc) Run ¶
func (s *Svc) Run(req *pbsvc.RunRequest, srv pbsvc.LitterBox_RunServer) error
func (*Svc) Scoop ¶
func (s *Svc) Scoop(ctx context.Context, req *pbsvc.ScoopRequest) (*pbsvc.ScoopResponse, error)
func (*Svc) Setup ¶
func (s *Svc) Setup(ctx context.Context, req *pbsvc.SetupRequest) (*pbsvc.SetupResponse, error)
Click to show internal directories.
Click to hide internal directories.