Versions in this module Expand all Collapse all v0 v0.5.7 Dec 5, 2020 Changes in this version + const HTML + const Markdown + const PlainText + var Version = "master" + func PrintVersionInfo(ctx context.Context, w io.Writer, verbose bool, mode PrintMode) + func WithInstance(ctx context.Context, workdir, agent string) context.Context + type Client struct + DebugAddress string + GoplsPath string + Logfile string + ServerID string + Session *cache.Session + type Instance struct + DebugAddress string + ListenedDebugAddress string + LogWriter io.Writer + Logfile string + OCAgentConfig string + ServerAddress string + StartTime time.Time + State *State + Workdir string + func GetInstance(ctx context.Context) *Instance + func (i *Instance) MonitorMemory(ctx context.Context) + func (i *Instance) PrintServerInfo(ctx context.Context, w io.Writer) + func (i *Instance) Serve(ctx context.Context) error + func (i *Instance) SetLogFile(logfile string, isDaemon bool) (func(), error) + type Module struct + Replace *ModuleVersion + type ModuleVersion struct + Path string + Sum string + Version string + type PrintMode int + type Server struct + ClientID string + DebugAddress string + GoplsPath string + ID string + Logfile string + type ServerVersion struct + Deps []*Module + func VersionInfo() *ServerVersion + type State struct + func (st *State) Cache(id string) *cache.Cache + func (st *State) Caches() []*cache.Cache + func (st *State) Client(id string) *Client + func (st *State) Clients() []*Client + func (st *State) Servers() []*Server + func (st *State) Session(id string) *cache.Session + func (st *State) Sessions() []*cache.Session + func (st *State) View(id string) *cache.View + func (st *State) Views() []*cache.View