8 lines
171 B
Go
8 lines
171 B
Go
|
package platform
|
||
|
|
||
|
// TokenGenerator represents a generator for API tokens.
|
||
|
type TokenGenerator interface {
|
||
|
// Token generates a new API token.
|
||
|
Token() (string, error)
|
||
|
}
|