Documentation
¶
Index ¶
- type OfficeService
- func (s *OfficeService) Create(ctx context.Context, r *office.CreateRequest) error
- func (s *OfficeService) FindMany(ctx context.Context, r *office.FindManyRequest) (*office.FindManyResponse, error)
- func (s *OfficeService) FindOne(ctx context.Context, r *office.FindOneRequest) (*office.FindOneResponse, error)
- func (s *OfficeService) Update(ctx context.Context, r *office.UpdateRequest) error
- type TemplateService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OfficeService ¶
type OfficeService struct { FindManyFn func(ctx context.Context, r *office.FindManyRequest) (*office.FindManyResponse, error) FindManyInvoked bool FindOneFn func(ctx context.Context, r *office.FindOneRequest) (*office.FindOneResponse, error) FindOneInvoked bool CreateFn func(ctx context.Context, r *office.CreateRequest) error CreateInvoked bool UpdateFn func(ctx context.Context, r *office.UpdateRequest) error UpdateInvoked bool }
func (*OfficeService) Create ¶
func (s *OfficeService) Create(ctx context.Context, r *office.CreateRequest) error
func (*OfficeService) FindMany ¶
func (s *OfficeService) FindMany(ctx context.Context, r *office.FindManyRequest) (*office.FindManyResponse, error)
func (*OfficeService) FindOne ¶
func (s *OfficeService) FindOne(ctx context.Context, r *office.FindOneRequest) (*office.FindOneResponse, error)
func (*OfficeService) Update ¶
func (s *OfficeService) Update(ctx context.Context, r *office.UpdateRequest) error
type TemplateService ¶
type TemplateService struct { ParseFn func(patterns string) error ExecuteTemplateFn func(w http.ResponseWriter, page fmt.Stringer) error ExecuteTemplateInvoked bool }
func (*TemplateService) ExecuteTemplate ¶
func (s *TemplateService) ExecuteTemplate(w http.ResponseWriter, page fmt.Stringer) error
func (*TemplateService) Parse ¶
func (s *TemplateService) Parse(patterns string) error
Click to show internal directories.
Click to hide internal directories.