Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(api *operations.ClaAPI, service Service)
Configure setups handlers on api with service
Types ¶
type Repository ¶
type Repository interface {
GetOrgFoundations(ctx context.Context, sfOrgID string) (models.Organization, error)
}
Repository interface defines methods of organization repository service
func NewRepository ¶
func NewRepository() Repository
NewRepository creates new instance of organization repository
type Service ¶
type Service interface {
GetOrgFoundations(ctx context.Context, in *organization.GetOrgFoundationsParams) (models.Organization, error)
}
Service interface defines methods of organization service
func NewService ¶
func NewService(repo Repository) Service
NewService creates new instance of organization service
Click to show internal directories.
Click to hide internal directories.