gitlab.com/evatix-go/core@v1.3.55/coreinterface/corepubsubinf/all-funcs.go (about)

     1  package corepubsubinf
     2  
     3  import (
     4  	"gitlab.com/evatix-go/core/coredata/corejson"
     5  	"gitlab.com/evatix-go/core/coreinterface"
     6  	"gitlab.com/evatix-go/core/coreinterface/errcoreinf"
     7  	"gitlab.com/evatix-go/core/coreinterface/loggerinf"
     8  	"gitlab.com/evatix-go/core/coreinterface/serializerinf"
     9  )
    10  
    11  type (
    12  	SubscribeFunc func(
    13  		subscriptionRecorder SubscriptionRecorder,
    14  	)
    15  
    16  	DirectSingleLogModelerSubscribeFunc func(modeler loggerinf.SingleLogModeler)
    17  
    18  	JsonResultSubscribeFunc func(
    19  		categoryRevealer coreinterface.CategoryRevealer,
    20  		jsonResult *corejson.Result,
    21  	)
    22  
    23  	BooleanSubscribeFunc func(
    24  		categoryRevealer coreinterface.CategoryRevealer,
    25  		isResult bool,
    26  	)
    27  
    28  	HashmapSubscribeFunc func(
    29  		categoryRevealer coreinterface.CategoryRevealer,
    30  		hashmap map[string]string,
    31  	)
    32  	BytesSubscribeFunc func(
    33  		categoryRevealer coreinterface.CategoryRevealer,
    34  		rawBytes []byte,
    35  	)
    36  	ModelJsonSubscribeFunc func(
    37  		categoryRevealer coreinterface.CategoryRevealer,
    38  		modelJson []byte,
    39  	)
    40  	AnyItemSubscribeFunc func(
    41  		categoryRevealer coreinterface.CategoryRevealer,
    42  		anyItem interface{},
    43  	)
    44  
    45  	StringSubscribeFunc func(
    46  		categoryRevealer coreinterface.CategoryRevealer,
    47  		message string,
    48  	)
    49  
    50  	SimpleBytesResulterSubscribeFunc func(
    51  		categoryRevealer coreinterface.CategoryRevealer,
    52  		result serializerinf.SimpleBytesResulter,
    53  	)
    54  
    55  	BaseJsonResulterSubscribeFunc func(
    56  		categoryRevealer coreinterface.CategoryRevealer,
    57  		result serializerinf.BaseJsonResulter,
    58  	)
    59  
    60  	JsonResulterSubscribeFunc func(
    61  		categoryRevealer coreinterface.CategoryRevealer,
    62  		result serializerinf.JsonResulter,
    63  	)
    64  
    65  	DirectBytesSubscribeFunc func(
    66  		rawBytes []byte,
    67  	)
    68  
    69  	DirectModelJsonSubscribeFunc func(
    70  		modelJson []byte,
    71  	)
    72  
    73  	DirectAnyItemSubscribeFunc func(
    74  		anyItem interface{},
    75  	)
    76  
    77  	DirectJsonResultSubscribeFunc func(
    78  		jsonResult *corejson.Result,
    79  	)
    80  
    81  	DirectStringSubscribeFunc func(
    82  		message string,
    83  	)
    84  
    85  	DirectBasicErrorSubscribeFunc func(
    86  		basicErrorWrapper errcoreinf.BasicErrWrapper,
    87  	)
    88  
    89  	DirectBaseErrorOrCollectionWrapperSubscribeFunc func(
    90  		basicErrorWrapper errcoreinf.BaseErrorOrCollectionWrapper,
    91  	)
    92  
    93  	DirectBooleanSubscribeFunc func(
    94  		isResult bool,
    95  	)
    96  
    97  	DirectSimpleBytesResulterSubscribeFunc func(
    98  		result serializerinf.SimpleBytesResulter,
    99  	)
   100  
   101  	DirectBaseJsonResulterSubscribeFunc func(
   102  		result serializerinf.BaseJsonResulter,
   103  	)
   104  
   105  	DirectJsonResulterSubscribeFunc func(
   106  		result serializerinf.JsonResulter,
   107  	)
   108  
   109  	SimpleSubscribeFunc                 func(communicate CommunicateModeler)
   110  	FilterStringSubscribeFunc           func(communicate CommunicateModeler, currentStringValue string)
   111  	LogSubscriberFunc                   func(logRecord BaseLogModeler)
   112  	StartFunc                           func(subscriptionRecorder SubscriptionRecorder)
   113  	CompletionFunc                      func(subscriptionRecorder SubscriptionRecorder)
   114  	StartEndSubscriptionFunc            func(isStart bool, subscriptionRecorder SubscriptionRecorder)
   115  	SimpleCompletionFunc                func(communicate CommunicateModeler)
   116  	CategoryNameAnyItemSubscriptionFunc func(categoryName string, anyItem interface{})
   117  	FilterAnyItemSubscriptionFunc       func(filter string, anyItem interface{})
   118  	FilterBytesSubscriptionFunc         func(filter string, rawBytes []byte)
   119  	MatcherFunc                         func() (isMatch bool)
   120  )