Documentation ¶
Index ¶
- type Handler
- func (h *Handler) Build(opts ...connect.HandlerOption) (string, http.Handler)
- func (h *Handler) Create(ctx context.Context, req *connect.Request[database.CreateRequest]) (*connect.Response[database.CreateResponse], error)
- func (h *Handler) CreateCredential(ctx context.Context, req *connect.Request[database.CreateCredentialRequest]) (*connect.Response[database.CreateCredentialResponse], error)
- func (h *Handler) CreateTable(ctx context.Context, req *connect.Request[database.CreateTableRequest]) (*connect.Response[database.CreateTableResponse], error)
- func (h *Handler) Delete(ctx context.Context, req *connect.Request[api_database.DeleteRequest]) (*connect.Response[api_database.DeleteResponse], error)
- func (h *Handler) DeleteCredential(ctx context.Context, req *connect.Request[database.DeleteCredentialRequest]) (*connect.Response[database.DeleteCredentialResponse], error)
- func (h *Handler) DeleteTable(ctx context.Context, req *connect.Request[database.DeleteTableRequest]) (*connect.Response[database.DeleteTableResponse], error)
- func (h *Handler) Get(ctx context.Context, req *connect.Request[database.GetRequest]) (*connect.Response[database.GetResponse], error)
- func (h *Handler) GetByName(ctx context.Context, req *connect.Request[database.GetByNameRequest]) (*connect.Response[database.GetByNameResponse], error)
- func (h *Handler) GetEndpoint(ctx context.Context, req *connect.Request[database.GetEndpointRequest]) (*connect.Response[database.GetEndpointResponse], error)
- func (h *Handler) List(ctx context.Context, req *connect.Request[database.ListRequest]) (*connect.Response[database.ListResponse], error)
- func (h *Handler) ListTables(ctx context.Context, req *connect.Request[database.ListTablesRequest]) (*connect.Response[database.ListTablesResponse], error)
- func (h *Handler) ServiceName() string
- func (h *Handler) Update(ctx context.Context, req *connect.Request[database.UpdateRequest]) (*connect.Response[database.UpdateResponse], error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Create ¶
func (h *Handler) Create(ctx context.Context, req *connect.Request[database.CreateRequest]) (*connect.Response[database.CreateResponse], error)
func (*Handler) CreateCredential ¶
func (h *Handler) CreateCredential(ctx context.Context, req *connect.Request[database.CreateCredentialRequest]) (*connect.Response[database.CreateCredentialResponse], error)
func (*Handler) CreateTable ¶
func (h *Handler) CreateTable(ctx context.Context, req *connect.Request[database.CreateTableRequest]) (*connect.Response[database.CreateTableResponse], error)
func (*Handler) Delete ¶
func (h *Handler) Delete(ctx context.Context, req *connect.Request[api_database.DeleteRequest]) (*connect.Response[api_database.DeleteResponse], error)
func (*Handler) DeleteCredential ¶
func (h *Handler) DeleteCredential(ctx context.Context, req *connect.Request[database.DeleteCredentialRequest]) (*connect.Response[database.DeleteCredentialResponse], error)
func (*Handler) DeleteTable ¶
func (h *Handler) DeleteTable(ctx context.Context, req *connect.Request[database.DeleteTableRequest]) (*connect.Response[database.DeleteTableResponse], error)
func (*Handler) Get ¶
func (h *Handler) Get(ctx context.Context, req *connect.Request[database.GetRequest]) (*connect.Response[database.GetResponse], error)
func (*Handler) GetByName ¶
func (h *Handler) GetByName(ctx context.Context, req *connect.Request[database.GetByNameRequest]) (*connect.Response[database.GetByNameResponse], error)
func (*Handler) GetEndpoint ¶
func (h *Handler) GetEndpoint(ctx context.Context, req *connect.Request[database.GetEndpointRequest]) (*connect.Response[database.GetEndpointResponse], error)
func (*Handler) List ¶
func (h *Handler) List(ctx context.Context, req *connect.Request[database.ListRequest]) (*connect.Response[database.ListResponse], error)
func (*Handler) ListTables ¶
func (h *Handler) ListTables(ctx context.Context, req *connect.Request[database.ListTablesRequest]) (*connect.Response[database.ListTablesResponse], error)
func (*Handler) ServiceName ¶
func (*Handler) Update ¶
func (h *Handler) Update(ctx context.Context, req *connect.Request[database.UpdateRequest]) (*connect.Response[database.UpdateResponse], error)
Click to show internal directories.
Click to hide internal directories.