NewAPITokenClient returns a client for the APIToken from the given config.
(c config)
| 373 | |
| 374 | // NewAPITokenClient returns a client for the APIToken from the given config. |
| 375 | func NewAPITokenClient(c config) *APITokenClient { |
| 376 | return &APITokenClient{config: c} |
| 377 | } |
| 378 | |
| 379 | // Use adds a list of mutation hooks to the hooks stack. |
| 380 | // A call to `Use(f, g, h)` equals to `apitoken.Hooks(f(g(h())))`. |
no outgoing calls
no test coverage detected