github.com/alloyzeus/go-azfl@v0.0.0-20231220071816-9740126a2d07/azcore/service_mutating_method_call.go (about)

     1  package azcore
     2  
     3  // ServiceMutatingMethodCallInputContext abstracts mutating method request contexts.
     4  type ServiceMutatingMethodCallInputContext[
     5  	SessionIDNumT SessionIDNum, SessionIDT SessionID[SessionIDNumT],
     6  	TerminalIDNumT TerminalIDNum, TerminalIDT TerminalID[TerminalIDNumT],
     7  	UserIDNumT UserIDNum, UserIDT UserID[UserIDNumT],
     8  	SessionSubjectT SessionSubject[
     9  		TerminalIDNumT, TerminalIDT,
    10  		UserIDNumT, UserIDT],
    11  	SessionT Session[
    12  		SessionIDNumT, SessionIDT,
    13  		TerminalIDNumT, TerminalIDT,
    14  		UserIDNumT, UserIDT,
    15  		SessionSubjectT, SessionT],
    16  	ServiceMethodCallInputContextT ServiceMethodCallInputContext[
    17  		SessionIDNumT, SessionIDT,
    18  		TerminalIDNumT, TerminalIDT,
    19  		UserIDNumT, UserIDT,
    20  		SessionSubjectT,
    21  		SessionT, ServiceMethodIdempotencyKeyT],
    22  	ServiceMethodIdempotencyKeyT ServiceMethodIdempotencyKey,
    23  ] interface {
    24  	ServiceMutatingMethodContext
    25  	ServiceMethodCallInputContext[
    26  		SessionIDNumT, SessionIDT,
    27  		TerminalIDNumT, TerminalIDT,
    28  		UserIDNumT, UserIDT,
    29  		SessionSubjectT,
    30  		SessionT, ServiceMethodIdempotencyKeyT]
    31  }
    32  
    33  // ServiceMutatingMethodCallOutputContext abstracts mutating
    34  // method response contexts.
    35  type ServiceMutatingMethodCallOutputContext interface {
    36  	ServiceMutatingMethodContext
    37  	ServiceMethodCallOutputContext
    38  }