Documentation
¶
Overview ¶
Package topic provides a core business API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = errors.New("topic not found") ErrUniqueName = errors.New("topic already exists") )
Set of error variables for CRUD operations.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core manages the set of APIs for user access.
type NewTopic ¶
type NewTopic struct {
Name string
}
NewTopic contains information needed to create a new topic.
Click to show internal directories.
Click to hide internal directories.