Documentation ¶
Overview ¶
Package gomarklogicgo provides a way to interact with MarkLogic's REST API.
Index ¶
- Constants
- type Client
- func (c *Client) Alerting() *alert.Service
- func (c *Client) Config() *config.Service
- func (c *Client) DataMovement() *datamovement.Service
- func (c *Client) DataServices() *dataservices.Service
- func (c *Client) Documents() *documents.Service
- func (c *Client) NewTransaction() *util.Transaction
- func (c *Client) RowsManagement() *rowsManagement.Service
- func (c *Client) Search() *search.Service
- func (c *Client) Semantics() *semantics.Service
- type Connection
- type ManagementClient
Constants ¶
const ( BasicAuth = clients.BasicAuth DigestAuth = clients.DigestAuth None = clients.None )
Authentication options
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is used for connecting to the MarkLogic REST API.
func New ¶
func New(config *Connection) (*Client, error)
New creates the Client struct used for searching, etc.
func NewClient ¶
func NewClient(host string, port int64, username string, password string, authType int) (*Client, error)
NewClient creates the Client struct used for searching, etc.
func (*Client) DataMovement ¶
func (c *Client) DataMovement() *datamovement.Service
DataMovement service
func (*Client) DataServices ¶
func (c *Client) DataServices() *dataservices.Service
DataServices service
func (*Client) NewTransaction ¶
func (c *Client) NewTransaction() *util.Transaction
NewTransaction returns a new transaction struct
func (*Client) RowsManagement ¶
func (c *Client) RowsManagement() *rowsManagement.Service
RowsManagement service
type Connection ¶
type Connection clients.Connection
Connection is used for defining the connection to the MarkLogic REST API.
type ManagementClient ¶
type ManagementClient clients.ManagementClient
ManagementClient is used for connecting to the MarkLogic Management API.
func NewManagementClient ¶
func NewManagementClient(host string, username string, password string, authType int) (*ManagementClient, error)
NewManagementClient creates the Client struct used for managing databases, etc.
func (*ManagementClient) GetDatabaseProperties ¶
func (mc *ManagementClient) GetDatabaseProperties(databaseName string, propertiesHandle handle.ResponseHandle) error
GetDatabaseProperties sets the database properties
func (*ManagementClient) SetDatabaseProperties ¶
func (mc *ManagementClient) SetDatabaseProperties(databaseName string, propertiesHandle handle.ResponseHandle) error
SetDatabaseProperties sets the database properties
Directories ¶
Path | Synopsis |
---|---|
Package admin can initialize MarkLogic instances
|
Package admin can initialize MarkLogic instances |
Package alert works with the MarkLogic Alerting API
|
Package alert works with the MarkLogic Alerting API |
Package clients provides clients for working with MarkLogic.
|
Package clients provides clients for working with MarkLogic. |
Package config can configure the MarkLogic REST server
|
Package config can configure the MarkLogic REST server |
Package datamovement provides way to read and write in bulk
|
Package datamovement provides way to read and write in bulk |
Package dataservices provides a way to call Data Services
|
Package dataservices provides a way to call Data Services |
Package documents provides a way to read and write documents
|
Package documents provides a way to read and write documents |
Package resources allows for interacting with custom REST extensions
|
Package resources allows for interacting with custom REST extensions |
Package rowsManagement executes an Optic API plan
|
Package rowsManagement executes an Optic API plan |
Package search interacts with the MarkLogic search API
|
Package search interacts with the MarkLogic search API |
Package semantics interacts with MarkLogic's semantic APIs
|
Package semantics interacts with MarkLogic's semantic APIs |