crash.software
Projects
Pull Requests
Issues
Builds
SeaMoon
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
SeaMoon
Files
🤬
Sign In
d8c188af
ROOT
/
pkg
/
api
/
service
/
provider.go
Search
History
158 lines
|
UTF-8
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
provider
*provider
TotalProviders
(ctx context.Context)
:
(int64, error)
ListProviders
(ctx context.Context, page, size int)
:
(models.ProviderList, error)
ListActiveProviders
(ctx context.Context)
:
(models.ProviderList, error)
GetProviderById
(ctx context.Context, id uint)
:
(*models.Provider, error)
GetProviderByName
(ctx context.Context, name string)
:
(*models.Provider, error)
CreateProvider
(ctx context.Context, obj *models.Provider)
:
(*models.Provider, error)
UpdateProvider
(ctx context.Context, obj *models.Provider)
:
(*models.Provider, error)
DeleteProvider
(ctx context.Context, id uint)
:
error
SyncProvider
(ctx context.Context, id uint)
:
error
ExistProvider
(ctx context.Context, name *string)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover