Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an implementation of a messenger channel that talks over RPC.
func NewClient ¶
func NewClient(client messengerproto.MessengerClient) *Client
NewClient returns a client that is connected to a remote channel
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a messenger that is managed over RPC.
func (*Server) Notify ¶
func (s *Server) Notify(_ context.Context, req *messengerproto.NotifyRequest) (*messengerproto.NotifyResponse, error)
Click to show internal directories.
Click to hide internal directories.