waku-org/go-waku

View on GitHub
library/c/api_filter.go

Summary

Maintainability
A
2 hrs
Test Coverage

Function waku_filter_subscribe has 6 arguments (exceeds 4 allowed). Consider refactoring.
Open

func waku_filter_subscribe(ctx unsafe.Pointer, filterJSON *C.char, peerID *C.char, ms C.int, cb C.WakuCallBack, userData unsafe.Pointer) C.int {
Severity: Minor
Found in library/c/api_filter.go - About 45 mins to fix

    Function waku_filter_unsubscribe has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    func waku_filter_unsubscribe(ctx unsafe.Pointer, filterJSON *C.char, peerID *C.char, ms C.int, cb C.WakuCallBack, userData unsafe.Pointer) C.int {
    Severity: Minor
    Found in library/c/api_filter.go - About 45 mins to fix

      Function waku_filter_unsubscribe_all has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      func waku_filter_unsubscribe_all(ctx unsafe.Pointer, peerID *C.char, ms C.int, cb C.WakuCallBack, userData unsafe.Pointer) C.int {
      Severity: Minor
      Found in library/c/api_filter.go - About 35 mins to fix

        Function waku_filter_ping has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        func waku_filter_ping(ctx unsafe.Pointer, peerID *C.char, ms C.int, cb C.WakuCallBack, userData unsafe.Pointer) C.int {
        Severity: Minor
        Found in library/c/api_filter.go - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status