Documentation ¶
Index ¶
- type AuthServer
- type Claims
- type HealthServer
- func (s *HealthServer) Check(ctx context.Context, in *v1.HealthCheckRequest) (*v1.HealthCheckResponse, error)
- func (s *HealthServer) SetServingStatus(service string, status v1.HealthCheckResponse_ServingStatus)
- func (s *HealthServer) Watch(in *v1.HealthCheckRequest, stream v1.Health_WatchServer) error
- type MetricServer
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthServer ¶
type AuthServer struct {
// contains filtered or unexported fields
}
func NewAuthServer ¶
func NewAuthServer(db *gorm.DB, settings *config.ServerConfig) *AuthServer
func (*AuthServer) CreateUser ¶
func (s *AuthServer) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.CreateUserResponse, error)
func (*AuthServer) GetSettings ¶
func (s *AuthServer) GetSettings() *config.ServerConfig
func (*AuthServer) Login ¶
func (s *AuthServer) Login(ctx context.Context, in *v1.LoginRequest) (*v1.LoginResponse, error)
type HealthServer ¶
type HealthServer struct {
// contains filtered or unexported fields
}
func NewHealthServer ¶
func NewHealthServer() *HealthServer
func (*HealthServer) Check ¶
func (s *HealthServer) Check(ctx context.Context, in *v1.HealthCheckRequest) (*v1.HealthCheckResponse, error)
func (*HealthServer) SetServingStatus ¶
func (s *HealthServer) SetServingStatus(service string, status v1.HealthCheckResponse_ServingStatus)
func (*HealthServer) Watch ¶
func (s *HealthServer) Watch(in *v1.HealthCheckRequest, stream v1.Health_WatchServer) error
type MetricServer ¶
type MetricServer struct{}
func NewMetricServer ¶
func NewMetricServer() *MetricServer
func (*MetricServer) GetMetrics ¶
func (s *MetricServer) GetMetrics(ctx context.Context, in *v1.MetricsRequest) (*v1.MetricsResponse, error)
Click to show internal directories.
Click to hide internal directories.