Categorygithub.com/juxuny/log-server
modulepackage
0.1.0
Repository: https://github.com/juxuny/log-server.git
Documentation: pkg.go.dev

# README

Log-Server

Installation

version: "3.5"
x-default: &default
  logging:
    options:
      max-size: "5M"
      max-file: "5"
services:
  srv:
    image: juxuny/log-server:v0.0.6
    entrypoint:
      - /app/logd
      - "-d=/app/log"
    restart: always
    volumes:
      - ./tmp:/app/log
    ports:
      - "40000:40000"
    

Other

alias log-api="glog --prefix=api --dir=${HOME}/log-server/log --expr "
alias log-api-admin="glog --prefix=api-admin --dir=${HOME}/log-server/log --expr "
alias log-api-cron="glog --prefix=api-cron --dir=${HOME}/log-server/log --expr "
alias tail-api="tail -f ${HOME}/log-server/log/api_$(date +"%Y%m%d_%H").log"
alias tail-api-admin="tail -f ${HOME}/log-server/log/api-admin_$(date +"%Y%m%d_%H").log"
alias tail-api-cron="tail -f ${HOME}/log-server/log/api-cron_$(date +"%Y%m%d_%H").log"

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
LogServer_ServiceDesc is the grpc.ServiceDesc for LogServer service.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UnimplementedLogServerServer must be embedded to have forward compatible implementations.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
LogServerClient is the client API for LogServer service.
LogServerServer is the server API for LogServer service.
UnsafeLogServerServer may be embedded to opt out of forward compatibility for this service.

# Type aliases

No description provided by the author