postgresql – How to create support functions for gin index on custom operator class in postgres?

I created some custom operators for jsonb type and a class for them all. Problem is that when i create an index

CREATE INDEX idx_name on tableUSING gin(column_name custom_operator_class)

I get an error

missing support function 2 for attribute 1 of index "idx_name"

I probably need to create support classes for overlap, contains, containedBy and equal, but i am not finding any documentation on how to do that. All i found online is for btree, and nothing for gin. Does anybody know how to do this, or any material where i can find some examples?

If you need more information, i will be glad to say more. Operators are basically for recursive search of keys where date is less than, more than, equal to the specified one