Documentation ¶
Index ¶
Constants ¶
View Source
const (
DatabaseName = "treediagram_intent"
)
Variables ¶
This section is empty.
Functions ¶
func NewLoggingService ¶
func NewLoggingService(logger zerolog.Logger, s intentpb.IntentRegistryServer) intentpb.IntentRegistryServer
func NewService ¶
func NewService(repository Repository) intentpb.IntentRegistryServer
Types ¶
type Repository ¶
type Repository interface { Save(*intentpb.Intent) error Disable(string) error Query(*intentpb.QueryIntentsRequest) ([]*intentpb.Intent, error) Migrate() error }
func NewRepository ¶
func NewRepository(url string) (Repository, error)
Click to show internal directories.
Click to hide internal directories.