Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointWatch ¶
type EndpointWatch struct { ProposeFn func(ctx context.Context, session *connect.Session) error RejectionsChan chan *connect.SessionRejection Receive func() (*connect.WatchRequest, error) }
func (*EndpointWatch) Rejections ¶
func (w *EndpointWatch) Rejections() <-chan *connect.SessionRejection
func (*EndpointWatch) StartReceiveRejections ¶
func (w *EndpointWatch) StartReceiveRejections(ctx context.Context)
type SessionProposal ¶
type SessionProposal struct { Proposal *connect.Session RejectFn func(ctx context.Context, r *connect.RejectionReason) error }
func (*SessionProposal) Reject ¶
func (p *SessionProposal) Reject(ctx context.Context, r *connect.RejectionReason) error
func (*SessionProposal) Session ¶
func (p *SessionProposal) Session() *connect.Session
func (*SessionProposal) String ¶
func (p *SessionProposal) String() string
Click to show internal directories.
Click to hide internal directories.