Documentation ¶
Index ¶
- Variables
- func Entry(port int, adminPort int, iam iam.IAM, seerOpts base.ServiceOptions, ...) error
- func RandStringBytesMaskImprSrcUnsafe(n int) string
- type Server
- func (s *Server) AdminListenAndServe(port int) error
- func (s *Server) DeleteUser(ctx context.Context, req api.DeleteUser) (_ *api.Void, err error)
- func (s *Server) ListenAndServe(port int) error
- func (s *Server) Login(ctx context.Context, req api.LoginRequest) (*api.LoginResponse, error)
- func (s *Server) ProjectAccess(ctx context.Context, userID string, projectID string) error
- func (s *Server) PushEvent(ctx context.Context, req api.Event) (*api.Void, error)
- type Subscription
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrMissingAccessToken = errors.New("missing AccessToken in header")
)
View Source
var NoProjectAccess = errors.New("no project access")
Functions ¶
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AdminListenAndServe ¶
func (*Server) DeleteUser ¶
func (*Server) ListenAndServe ¶
func (*Server) Login ¶
func (s *Server) Login( ctx context.Context, req api.LoginRequest, ) (*api.LoginResponse, error)
func (*Server) ProjectAccess ¶
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.