Documentation ¶
Index ¶
- type EosProjects
- func NewEosProjects(dbCfg config.DB, userGroupsManager config.UserGroupsManager, opts ...Option) (EosProjects, error)
- func NewInstrument(next EosProjects, metrics *metrics.Metrics) EosProjects
- func NewLogging(next EosProjects, logger log.Logger) EosProjects
- func NewTracing(next EosProjects) EosProjects
- type EosProjectsmpl
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EosProjects ¶
func NewEosProjects ¶
func NewEosProjects(dbCfg config.DB, userGroupsManager config.UserGroupsManager, opts ...Option) (EosProjects, error)
New returns a new instance of Service
func NewInstrument ¶
func NewInstrument(next EosProjects, metrics *metrics.Metrics) EosProjects
NewInstrument returns a service that instruments metrics.
func NewLogging ¶
func NewLogging(next EosProjects, logger log.Logger) EosProjects
NewLogging returns a service that logs messages.
func NewTracing ¶
func NewTracing(next EosProjects) EosProjects
NewTracing returns a service that instruments traces.
type EosProjectsmpl ¶
type EosProjectsmpl struct {
// contains filtered or unexported fields
}
BasicGreeter implements the Greeter interface
func (EosProjectsmpl) GetProjects ¶
func (p EosProjectsmpl) GetProjects(user *userpb.User) []*proto.Project
Greet implements the EosProjectsHandler interface.
Click to show internal directories.
Click to hide internal directories.