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
ff358b7c
ROOT
/
pkg
/
api
/
service
/
provider.go
Search
History
129 lines
|
UTF-8
|
3 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)
UpdateProviderStatus
(ctx context.Context, id uint, status enum.ProviderStatus, msg string)
DeleteProvider
(ctx context.Context, id uint)
:
error
SyncProvider
(ctx context.Context, prov *models.Provider)
:
error
ExistProvider
(ctx context.Context, name *string)
:
bool
All occurrences
Please wait...
Page is in error, reload to recover