Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "1.0.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kit ¶
type Kit struct { Service *Service Server *Server LogWriter pzsyslog.Writer AuditWriter pzsyslog.Writer Sys *piazza.SystemConfig GenericServer *piazza.GenericServer Url string // contains filtered or unexported fields }
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
func NewMockClient ¶
func NewMockClient() (*MockClient, error)
func (*MockClient) GetStats ¶
func (c *MockClient) GetStats() (*Stats, error)
func (*MockClient) GetUUID ¶
func (c *MockClient) GetUUID() (string, error)
func (*MockClient) GetVersion ¶
func (c *MockClient) GetVersion() (*piazza.Version, error)
type Service ¶
func (*Service) GetStats ¶
func (service *Service) GetStats() *piazza.JsonResponse
func (*Service) PostUuids ¶
func (service *Service) PostUuids(params *piazza.HttpQueryParams) *piazza.JsonResponse
PostUuids generates one or more UUIDs.
The request body is ignored. We allow a count of zero, for testing.
Click to show internal directories.
Click to hide internal directories.