package
1.0.1
Repository: https://github.com/peyuaa/segmentify.git
Documentation: pkg.go.dev

# Structs

ActiveSegment defines the structure of Segment for an API response for active user's segments.
No description provided by the author
CreateSegmentRequest defines the structure for an API request for adding segments swagger:model createSegmentRequest.
Segment defines the structure for an API segment.
SegmentAdd defines the structure for an API for adding segments swagger:model segmentAdd.
SegmentAddDB defines the structure for adding a segment to the database.
SegmentDB defines the structure for a segment in the database.
SegmentDelete defines the structure for an API for deleting segments swagger:model segmentDelete.
SegmentDeleteDB defines the structure for deleting a segment from the database.
UserHistoryEntry defines user's segment history entry.
UserHistoryResponse defines the structure for an API response for getting user's segments history.
UserSegmentHistoryDB defines the structure for a segment in the database.
UserSegmentsDB defines the structure for adding and removing segments from the user.
UserSegmentsRequest defines the structure for an API for adding segments to user swagger:model userSegmentsRequest.

# Type aliases

ActiveSegments defines the structure of response for active user's segments.
Segments defines a slice of Segment.
SegmentsDB defines a slice of SegmentDB.
UserHistory defines a slice of UserHistoryEntry Implements sort.Interface.
UserSegmentsHistoryDB defines a slice of UserSegmentHistoryDB.