Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestServer ¶
type TestServer struct {
Server *httptest.Server // For HTTP transport only
DB *sqlite.DB
Token string
TenantID string
Mode TransportMode
// contains filtered or unexported fields
}
func NewWithTransport ¶
func NewWithTransport(t *testing.T, token, tenantID string, mode TransportMode) *TestServer
func (*TestServer) AddAPIKey ¶
func (ts *TestServer) AddAPIKey(token, tenantID string) error
type TransportMode ¶
type TransportMode string
const ( TransportHTTP TransportMode = "http" TransportStdio TransportMode = "stdio" )
Click to show internal directories.
Click to hide internal directories.