orgs

package
v0.0.0-...-4d82e29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: MIT Imports: 7 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL