github.com/ronaksoft/rony@v0.16.26-0.20230807065236-1743dbfe6959/edgec/client.go (about)

     1  package edgec
     2  
     3  import (
     4  	"context"
     5  
     6  	"github.com/ronaksoft/rony"
     7  )
     8  
     9  /*
    10     Creation Time: 2020 - Jul - 17
    11     Created by:  (ehsan)
    12     Maintainers:
    13        1.  Ehsan N. Moosa (E2)
    14     Auditor: Ehsan N. Moosa (E2)
    15     Copyright Ronak Software Group 2020
    16  */
    17  
    18  type Client interface {
    19  	Send(ctx context.Context, req, res *rony.MessageEnvelope) error
    20  	Close() error
    21  	GetRequestID() uint64
    22  }