NewMembershipClient returns a client for the Membership from the given config.
(c config)
| 1709 | |
| 1710 | // NewMembershipClient returns a client for the Membership from the given config. |
| 1711 | func NewMembershipClient(c config) *MembershipClient { |
| 1712 | return &MembershipClient{config: c} |
| 1713 | } |
| 1714 | |
| 1715 | // Use adds a list of mutation hooks to the hooks stack. |
| 1716 | // A call to `Use(f, g, h)` equals to `membership.Hooks(f(g(h())))`. |
no outgoing calls
no test coverage detected