github.com/keybase/client/go@v0.0.0-20240309051027-028f7c731f8b/service/ctl_other.go (about)

     1  // Copyright 2019 Keybase, Inc. All rights reserved. Use of
     2  // this source code is governed by the included BSD license.
     3  
     4  //go:build darwin
     5  // +build darwin
     6  
     7  package service
     8  
     9  import (
    10  	"errors"
    11  
    12  	keybase1 "github.com/keybase/client/go/protocol/keybase1"
    13  	"golang.org/x/net/context"
    14  )
    15  
    16  func (c *CtlHandler) SetOnLoginStartup(_ context.Context, _ bool) error {
    17  	return errors.New("SetOnLoginStartup not supported on this platform")
    18  }
    19  
    20  func (c *CtlHandler) GetOnLoginStartup(_ context.Context) (keybase1.OnLoginStartupStatus, error) {
    21  	return keybase1.OnLoginStartupStatus_UNKNOWN, errors.New("GetOnLoginStartup not supported on this platform")
    22  }