package benchmark_grpc
Import Path
github.com/pancsta/asyncmachine-go/examples/benchmark_grpc (on go.dev)
Dependency Relation
imports 12 packages, and imported by 0 packages
Package-Level Type Names (total 5)
ErrCount int
SuccessCount int
(*Worker) CallOp(op Op)
(*Worker) GetValue() Value
(*Worker) Start()
(*Worker) Subscribe(lis func())
func NewWorkerArpcServer(ctx context.Context, addr string, worker *Worker) (*WorkerArpcServer, error)
func NewWorkerServiceServer(worker *Worker) *WorkerServiceServer
Mach *am.Machine
RPC *arpc.Server
Worker *Worker
(*WorkerArpcServer) CallOpEnter(e *am.Event) bool
(*WorkerArpcServer) CallOpState(e *am.Event)
(*WorkerArpcServer) EventState(_ *am.Event)
(*WorkerArpcServer) StartState(_ *am.Event)
func NewWorkerArpcServer(ctx context.Context, addr string, worker *Worker) (*WorkerArpcServer, error)
UnimplementedWorkerServiceServer pb.UnimplementedWorkerServiceServer
(*WorkerServiceServer) CallOp(ctx context.Context, req *pb.CallOpRequest) (*pb.CallOpResponse, error)
(*WorkerServiceServer) GetValue(ctx context.Context, req *pb.Empty) (*pb.GetValueResponse, error)
(*WorkerServiceServer) Start(ctx context.Context, req *pb.Empty) (*pb.Empty, error)
(*WorkerServiceServer) Subscribe(req *pb.Empty, stream pb.WorkerService_SubscribeServer) error
WorkerServiceServer : github.com/pancsta/asyncmachine-go/examples/benchmark_grpc/proto.UnsafeWorkerServiceServer
*WorkerServiceServer : github.com/pancsta/asyncmachine-go/examples/benchmark_grpc/proto.WorkerServiceServer
func NewWorkerServiceServer(worker *Worker) *WorkerServiceServer
Package-Level Functions (total 2)
func NewWorkerArpcServer(ctx context.Context, addr string, worker *Worker) (*WorkerArpcServer, error) func NewWorkerServiceServer(worker *Worker) *WorkerServiceServer
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |