-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1d2bbd
commit a600d49
Showing
8 changed files
with
934 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//go:generate mockgen -source=log_stream.go -destination=log_stream_mock.go -package=auth0 | ||
|
||
package auth0 | ||
|
||
import "gopkg.in/auth0.v5/management" | ||
|
||
type LogStreamAPI interface { | ||
// Create a log stream. | ||
Create(ls *management.LogStream, opts ...management.RequestOption) (err error) | ||
|
||
// Read a log stream. | ||
Read(id string, opts ...management.RequestOption) (ls *management.LogStream, err error) | ||
|
||
// Update a log stream. | ||
Update(id string, ls *management.LogStream, opts ...management.RequestOption) (err error) | ||
|
||
// List all log streams. | ||
List(opts ...management.RequestOption) (ls []*management.LogStream, err error) | ||
|
||
// Delete a log stream. | ||
Delete(id string, opts ...management.RequestOption) (err error) | ||
} |
Oops, something went wrong.