Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrNotFound ¶
IsErrNotFound returs true if err is type of ErrNotFound, false otherwise.
Types ¶
type DecodeError ¶
type DecodeError struct {
ID string
}
DecodeError represents a service impossible to decode.
func (*DecodeError) Error ¶
func (e *DecodeError) Error() string
type ErrNotFound ¶
type ErrNotFound struct {
ID string
}
ErrNotFound is an not found error.
func (*ErrNotFound) Error ¶
func (e *ErrNotFound) Error() string
type ServiceDB ¶
type ServiceDB struct {
// contains filtered or unexported fields
}
ServiceDB is a database for storing service definition.
func NewServiceDB ¶
NewServiceDB returns database which is located under given path.
Click to show internal directories.
Click to hide internal directories.