Documentation ¶
Index ¶
- Constants
- type APIRoleConfigInput
- type APIRoleConfigOutput
- type Role
- func (r *Role) APIRoleConfigGet() usecase.Interactor
- func (r *Role) APIRoleConfigPut() usecase.Interactor
- func (r *Role) HandleHealthLive(w http.ResponseWriter, re *http.Request)
- func (r *Role) HandleMetrics(w http.ResponseWriter, re *http.Request)
- func (r *Role) IsRunning() bool
- func (r *Role) Start(ctx context.Context, config []byte) error
- func (r *Role) Stop()
- type RoleConfig
Constants ¶
View Source
const (
KeyRole = "monitoring"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRoleConfigInput ¶
type APIRoleConfigInput struct {
Config RoleConfig `json:"config" required:"true"`
}
type APIRoleConfigOutput ¶
type APIRoleConfigOutput struct {
Config RoleConfig `json:"config" required:"true"`
}
type Role ¶
type Role struct {
// contains filtered or unexported fields
}
func (*Role) APIRoleConfigGet ¶
func (r *Role) APIRoleConfigGet() usecase.Interactor
func (*Role) APIRoleConfigPut ¶
func (r *Role) APIRoleConfigPut() usecase.Interactor
Click to show internal directories.
Click to hide internal directories.