Documentation ¶
Index ¶
- type Bouncer
- type Contact
- type Cursor
- type EndpointService
- func (e *EndpointService) Create(ctx context.Context, payload model.NewEndpoint) (model.Endpoint, error)
- func (e *EndpointService) Delete(ctx context.Context, sid int32) error
- func (e *EndpointService) Paginate(ctx context.Context, page, size int) (model.EndpointPage, error)
- func (e *EndpointService) Read(ctx context.Context, sid int32) (model.Endpoint, error)
- func (e *EndpointService) Update(ctx context.Context, sid int32, payload model.PatchedEndpoint) (model.Endpoint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointService ¶
type EndpointService struct {
Cursor
}
func (*EndpointService) Create ¶
func (e *EndpointService) Create(ctx context.Context, payload model.NewEndpoint) (model.Endpoint, error)
func (*EndpointService) Delete ¶
func (e *EndpointService) Delete(ctx context.Context, sid int32) error
func (*EndpointService) Paginate ¶
func (e *EndpointService) Paginate(ctx context.Context, page, size int) (model.EndpointPage, error)
Click to show internal directories.
Click to hide internal directories.